Documentation ¶
Overview ¶
Package damaiticklet 包含大麦第三方商家接入API相关结构体
Index ¶
- func ReleaseAlibabaDamaiMxOpengatewayScriptAPIRequest(v *AlibabaDamaiMxOpengatewayScriptAPIRequest)
- func ReleaseAlibabaDamaiMxOpengatewayScriptAPIResponse(v *AlibabaDamaiMxOpengatewayScriptAPIResponse)
- func ReleaseAlibabaDamaiTickletQrcodeDecodeAPIRequest(v *AlibabaDamaiTickletQrcodeDecodeAPIRequest)
- func ReleaseAlibabaDamaiTickletQrcodeDecodeAPIResponse(v *AlibabaDamaiTickletQrcodeDecodeAPIResponse)
- func ReleaseOpenResult(v *OpenResult)
- func ReleaseScriptInfoOpenParam(v *ScriptInfoOpenParam)
- func ReleaseScriptTagThirdParam(v *ScriptTagThirdParam)
- type AlibabaDamaiMxOpengatewayScriptAPIRequest
- func (r AlibabaDamaiMxOpengatewayScriptAPIRequest) GetApiMethodName() string
- func (r AlibabaDamaiMxOpengatewayScriptAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaDamaiMxOpengatewayScriptAPIRequest) GetRawParams() model.Params
- func (r AlibabaDamaiMxOpengatewayScriptAPIRequest) GetScriptInfoOpenParam() *ScriptInfoOpenParam
- func (r *AlibabaDamaiMxOpengatewayScriptAPIRequest) Reset()
- func (r *AlibabaDamaiMxOpengatewayScriptAPIRequest) SetScriptInfoOpenParam(_scriptInfoOpenParam *ScriptInfoOpenParam) error
- type AlibabaDamaiMxOpengatewayScriptAPIResponse
- type AlibabaDamaiMxOpengatewayScriptAPIResponseModel
- type AlibabaDamaiTickletQrcodeDecodeAPIRequest
- func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetApiMethodName() string
- func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetEncryptedQrCode() string
- func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetProductSystemId() string
- func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetRawParams() model.Params
- func (r *AlibabaDamaiTickletQrcodeDecodeAPIRequest) Reset()
- func (r *AlibabaDamaiTickletQrcodeDecodeAPIRequest) SetEncryptedQrCode(_encryptedQrCode string) error
- func (r *AlibabaDamaiTickletQrcodeDecodeAPIRequest) SetProductSystemId(_productSystemId string) error
- type AlibabaDamaiTickletQrcodeDecodeAPIResponse
- type AlibabaDamaiTickletQrcodeDecodeAPIResponseModel
- type OpenResult
- type ScriptInfoOpenParam
- type ScriptTagThirdParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseAlibabaDamaiMxOpengatewayScriptAPIRequest ¶ added in v1.3.4
func ReleaseAlibabaDamaiMxOpengatewayScriptAPIRequest(v *AlibabaDamaiMxOpengatewayScriptAPIRequest)
ReleaseAlibabaDamaiMxOpengatewayScriptAPIRequest 将 AlibabaDamaiMxOpengatewayScriptAPIRequest 放入 sync.Pool
func ReleaseAlibabaDamaiMxOpengatewayScriptAPIResponse ¶ added in v1.3.4
func ReleaseAlibabaDamaiMxOpengatewayScriptAPIResponse(v *AlibabaDamaiMxOpengatewayScriptAPIResponse)
ReleaseAlibabaDamaiMxOpengatewayScriptAPIResponse 将 AlibabaDamaiMxOpengatewayScriptAPIResponse 保存到 sync.Pool
func ReleaseAlibabaDamaiTickletQrcodeDecodeAPIRequest ¶ added in v1.3.4
func ReleaseAlibabaDamaiTickletQrcodeDecodeAPIRequest(v *AlibabaDamaiTickletQrcodeDecodeAPIRequest)
ReleaseAlibabaDamaiTickletQrcodeDecodeAPIRequest 将 AlibabaDamaiTickletQrcodeDecodeAPIRequest 放入 sync.Pool
func ReleaseAlibabaDamaiTickletQrcodeDecodeAPIResponse ¶ added in v1.3.4
func ReleaseAlibabaDamaiTickletQrcodeDecodeAPIResponse(v *AlibabaDamaiTickletQrcodeDecodeAPIResponse)
ReleaseAlibabaDamaiTickletQrcodeDecodeAPIResponse 将 AlibabaDamaiTickletQrcodeDecodeAPIResponse 保存到 sync.Pool
func ReleaseOpenResult ¶ added in v1.3.4
func ReleaseOpenResult(v *OpenResult)
ReleaseOpenResult 释放OpenResult
func ReleaseScriptInfoOpenParam ¶ added in v1.3.4
func ReleaseScriptInfoOpenParam(v *ScriptInfoOpenParam)
ReleaseScriptInfoOpenParam 释放ScriptInfoOpenParam
func ReleaseScriptTagThirdParam ¶ added in v1.3.4
func ReleaseScriptTagThirdParam(v *ScriptTagThirdParam)
ReleaseScriptTagThirdParam 释放ScriptTagThirdParam
Types ¶
type AlibabaDamaiMxOpengatewayScriptAPIRequest ¶ added in v1.2.5
type AlibabaDamaiMxOpengatewayScriptAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaDamaiMxOpengatewayScriptAPIRequest 第三方剧本数据推送 API请求 alibaba.damai.mx.opengateway.script
第三方剧本数据推送
func GetAlibabaDamaiMxOpengatewayScriptAPIRequest ¶ added in v1.3.4
func GetAlibabaDamaiMxOpengatewayScriptAPIRequest() *AlibabaDamaiMxOpengatewayScriptAPIRequest
GetAlibabaDamaiMxOpengatewayScriptRequest 从 sync.Pool 获取 AlibabaDamaiMxOpengatewayScriptAPIRequest
func NewAlibabaDamaiMxOpengatewayScriptRequest ¶ added in v1.2.5
func NewAlibabaDamaiMxOpengatewayScriptRequest() *AlibabaDamaiMxOpengatewayScriptAPIRequest
NewAlibabaDamaiMxOpengatewayScriptRequest 初始化AlibabaDamaiMxOpengatewayScriptAPIRequest对象
func (AlibabaDamaiMxOpengatewayScriptAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaDamaiMxOpengatewayScriptAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaDamaiMxOpengatewayScriptAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaDamaiMxOpengatewayScriptAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaDamaiMxOpengatewayScriptAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaDamaiMxOpengatewayScriptAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaDamaiMxOpengatewayScriptAPIRequest) GetScriptInfoOpenParam ¶ added in v1.2.5
func (r AlibabaDamaiMxOpengatewayScriptAPIRequest) GetScriptInfoOpenParam() *ScriptInfoOpenParam
GetScriptInfoOpenParam ScriptInfoOpenParam Getter
func (*AlibabaDamaiMxOpengatewayScriptAPIRequest) Reset ¶ added in v1.3.4
func (r *AlibabaDamaiMxOpengatewayScriptAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlibabaDamaiMxOpengatewayScriptAPIRequest) SetScriptInfoOpenParam ¶ added in v1.2.5
func (r *AlibabaDamaiMxOpengatewayScriptAPIRequest) SetScriptInfoOpenParam(_scriptInfoOpenParam *ScriptInfoOpenParam) error
SetScriptInfoOpenParam is ScriptInfoOpenParam Setter 接口入参
type AlibabaDamaiMxOpengatewayScriptAPIResponse ¶ added in v1.2.5
type AlibabaDamaiMxOpengatewayScriptAPIResponse struct { model.CommonResponse AlibabaDamaiMxOpengatewayScriptAPIResponseModel }
AlibabaDamaiMxOpengatewayScriptAPIResponse 第三方剧本数据推送 API返回值 alibaba.damai.mx.opengateway.script
第三方剧本数据推送
func GetAlibabaDamaiMxOpengatewayScriptAPIResponse ¶ added in v1.3.4
func GetAlibabaDamaiMxOpengatewayScriptAPIResponse() *AlibabaDamaiMxOpengatewayScriptAPIResponse
GetAlibabaDamaiMxOpengatewayScriptAPIResponse 从 sync.Pool 获取 AlibabaDamaiMxOpengatewayScriptAPIResponse
func (*AlibabaDamaiMxOpengatewayScriptAPIResponse) Reset ¶ added in v1.3.4
func (m *AlibabaDamaiMxOpengatewayScriptAPIResponse) Reset()
Reset 清空结构体
type AlibabaDamaiMxOpengatewayScriptAPIResponseModel ¶ added in v1.2.5
type AlibabaDamaiMxOpengatewayScriptAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_damai_mx_opengateway_script_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值模型 Result *OpenResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaDamaiMxOpengatewayScriptAPIResponseModel is 第三方剧本数据推送 成功返回结果
func (*AlibabaDamaiMxOpengatewayScriptAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlibabaDamaiMxOpengatewayScriptAPIResponseModel) Reset()
Reset 清空结构体
type AlibabaDamaiTickletQrcodeDecodeAPIRequest ¶ added in v1.2.0
type AlibabaDamaiTickletQrcodeDecodeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaDamaiTickletQrcodeDecodeAPIRequest 票夹-动态二维码-解码 API请求 alibaba.damai.ticklet.qrcode.decode
对于票夹的动态二维码进行解码
func GetAlibabaDamaiTickletQrcodeDecodeAPIRequest ¶ added in v1.3.4
func GetAlibabaDamaiTickletQrcodeDecodeAPIRequest() *AlibabaDamaiTickletQrcodeDecodeAPIRequest
GetAlibabaDamaiTickletQrcodeDecodeRequest 从 sync.Pool 获取 AlibabaDamaiTickletQrcodeDecodeAPIRequest
func NewAlibabaDamaiTickletQrcodeDecodeRequest ¶
func NewAlibabaDamaiTickletQrcodeDecodeRequest() *AlibabaDamaiTickletQrcodeDecodeAPIRequest
NewAlibabaDamaiTickletQrcodeDecodeRequest 初始化AlibabaDamaiTickletQrcodeDecodeAPIRequest对象
func (AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetEncryptedQrCode ¶ added in v1.2.0
func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetEncryptedQrCode() string
GetEncryptedQrCode EncryptedQrCode Getter
func (AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetProductSystemId ¶ added in v1.2.0
func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetProductSystemId() string
GetProductSystemId ProductSystemId Getter
func (AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaDamaiTickletQrcodeDecodeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaDamaiTickletQrcodeDecodeAPIRequest) Reset ¶ added in v1.3.4
func (r *AlibabaDamaiTickletQrcodeDecodeAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlibabaDamaiTickletQrcodeDecodeAPIRequest) SetEncryptedQrCode ¶ added in v1.2.0
func (r *AlibabaDamaiTickletQrcodeDecodeAPIRequest) SetEncryptedQrCode(_encryptedQrCode string) error
SetEncryptedQrCode is EncryptedQrCode Setter 加密二维码
func (*AlibabaDamaiTickletQrcodeDecodeAPIRequest) SetProductSystemId ¶ added in v1.2.0
func (r *AlibabaDamaiTickletQrcodeDecodeAPIRequest) SetProductSystemId(_productSystemId string) error
SetProductSystemId is ProductSystemId Setter 生产系统
type AlibabaDamaiTickletQrcodeDecodeAPIResponse ¶
type AlibabaDamaiTickletQrcodeDecodeAPIResponse struct { model.CommonResponse AlibabaDamaiTickletQrcodeDecodeAPIResponseModel }
AlibabaDamaiTickletQrcodeDecodeAPIResponse 票夹-动态二维码-解码 API返回值 alibaba.damai.ticklet.qrcode.decode
对于票夹的动态二维码进行解码
func GetAlibabaDamaiTickletQrcodeDecodeAPIResponse ¶ added in v1.3.4
func GetAlibabaDamaiTickletQrcodeDecodeAPIResponse() *AlibabaDamaiTickletQrcodeDecodeAPIResponse
GetAlibabaDamaiTickletQrcodeDecodeAPIResponse 从 sync.Pool 获取 AlibabaDamaiTickletQrcodeDecodeAPIResponse
func (*AlibabaDamaiTickletQrcodeDecodeAPIResponse) Reset ¶ added in v1.3.4
func (m *AlibabaDamaiTickletQrcodeDecodeAPIResponse) Reset()
Reset 清空结构体
type AlibabaDamaiTickletQrcodeDecodeAPIResponseModel ¶ added in v1.2.0
type AlibabaDamaiTickletQrcodeDecodeAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_damai_ticklet_qrcode_decode_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // model Model string `json:"model,omitempty" xml:"model,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlibabaDamaiTickletQrcodeDecodeAPIResponseModel is 票夹-动态二维码-解码 成功返回结果
func (*AlibabaDamaiTickletQrcodeDecodeAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlibabaDamaiTickletQrcodeDecodeAPIResponseModel) Reset()
Reset 清空结构体
type OpenResult ¶ added in v1.2.5
type OpenResult struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 提示 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 是否成功 Model bool `json:"model,omitempty" xml:"model,omitempty"` }
OpenResult 结构体
func GetOpenResult ¶ added in v1.3.4
func GetOpenResult() *OpenResult
GetOpenResult() 从对象池中获取OpenResult
type ScriptInfoOpenParam ¶ added in v1.2.5
type ScriptInfoOpenParam struct { // 剧本标签数据 ThirdScriptTagList []ScriptTagThirdParam `json:"third_script_tag_list,omitempty" xml:"third_script_tag_list>script_tag_third_param,omitempty"` // 剧本其他图片 ScriptOtherImageList []string `json:"script_other_image_list,omitempty" xml:"script_other_image_list>string,omitempty"` // 剧本视频 ScriptVideoList []string `json:"script_video_list,omitempty" xml:"script_video_list>string,omitempty"` // 剧本人物海报图 ScriptPosterList []string `json:"script_poster_list,omitempty" xml:"script_poster_list>string,omitempty"` // 发行时间 ReleaseTime string `json:"release_time,omitempty" xml:"release_time,omitempty"` // 是否全息 是1 否0 HasHolographic string `json:"has_holographic,omitempty" xml:"has_holographic,omitempty"` // 剧本文字描述 ScriptDescribe string `json:"script_describe,omitempty" xml:"script_describe,omitempty"` // 监制名称 SuperviseName string `json:"supervise_name,omitempty" xml:"supervise_name,omitempty"` // 有无道具 有1 无0 HasProp string `json:"has_prop,omitempty" xml:"has_prop,omitempty"` // 电子资料 ElectronicData string `json:"electronic_data,omitempty" xml:"electronic_data,omitempty"` // 剧本封面 ScriptCover string `json:"script_cover,omitempty" xml:"script_cover,omitempty"` // 作者 Author string `json:"author,omitempty" xml:"author,omitempty"` // 可否反串 1可 0否 IsReverse string `json:"is_reverse,omitempty" xml:"is_reverse,omitempty"` // 剧本名称 ScriptName string `json:"script_name,omitempty" xml:"script_name,omitempty"` // 出品方 Producer string `json:"producer,omitempty" xml:"producer,omitempty"` // 发行工作室 DistributionStudio string `json:"distribution_studio,omitempty" xml:"distribution_studio,omitempty"` // 有无演绎 HasDeduction string `json:"has_deduction,omitempty" xml:"has_deduction,omitempty"` // 玩家人数下限 PlayerMinNum int64 `json:"player_min_num,omitempty" xml:"player_min_num,omitempty"` // 剧本来源 剧游:2 Source int64 `json:"source,omitempty" xml:"source,omitempty"` // 女生人数 GirlNum int64 `json:"girl_num,omitempty" xml:"girl_num,omitempty"` // 阅读体量 ReadingVolume int64 `json:"reading_volume,omitempty" xml:"reading_volume,omitempty"` // 主持难度 HostingDifficulty int64 `json:"hosting_difficulty,omitempty" xml:"hosting_difficulty,omitempty"` // 男生人数 BoyNum int64 `json:"boy_num,omitempty" xml:"boy_num,omitempty"` // 三方剧本id OutId int64 `json:"out_id,omitempty" xml:"out_id,omitempty"` // 发售价格(单位分) SalePrice int64 `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 发售方式 盒装1 限定2 独家3 待定4 实景5 SaleMode int64 `json:"sale_mode,omitempty" xml:"sale_mode,omitempty"` // 平均游戏时长(分钟) ScriptTime int64 `json:"script_time,omitempty" xml:"script_time,omitempty"` // 剧本难度 1:新手 2:进阶 3:烧脑 Difficulty int64 `json:"difficulty,omitempty" xml:"difficulty,omitempty"` // 玩家人数模式:固定:0 范围1 PlayerNumMode int64 `json:"player_num_mode,omitempty" xml:"player_num_mode,omitempty"` // 玩家人数上限 PlayerMaxNum int64 `json:"player_max_num,omitempty" xml:"player_max_num,omitempty"` // 1:6+ ,2:12+ ,3:16+ ,4:18+ RightAge int64 `json:"right_age,omitempty" xml:"right_age,omitempty"` }
ScriptInfoOpenParam 结构体
func GetScriptInfoOpenParam ¶ added in v1.3.4
func GetScriptInfoOpenParam() *ScriptInfoOpenParam
GetScriptInfoOpenParam() 从对象池中获取ScriptInfoOpenParam
type ScriptTagThirdParam ¶ added in v1.2.5
type ScriptTagThirdParam struct { // 剧本名称 TagName string `json:"tag_name,omitempty" xml:"tag_name,omitempty"` // 剧本类型,核心题材1 剧本题材 2 时代背景 3 流派/类型 4 剧本类型 5 TagType int64 `json:"tag_type,omitempty" xml:"tag_type,omitempty"` // 剧本标签id OutTagId int64 `json:"out_tag_id,omitempty" xml:"out_tag_id,omitempty"` }
ScriptTagThirdParam 结构体
func GetScriptTagThirdParam ¶ added in v1.3.4
func GetScriptTagThirdParam() *ScriptTagThirdParam
GetScriptTagThirdParam() 从对象池中获取ScriptTagThirdParam