Documentation ¶
Overview ¶
Package damaiticklet 包含大麦第三方商家接入API相关结构体
Index ¶
- 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) 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) 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 ¶
This section is empty.
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 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) 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
第三方剧本数据推送
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 第三方剧本数据推送 成功返回结果
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 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) 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
对于票夹的动态二维码进行解码
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 票夹-动态二维码-解码 成功返回结果
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 结构体
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 结构体
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 结构体