@@ -41,7 +41,7 @@ func SetBasic(c *gin.Context) { | |||
// @Accept json | |||
// @Produce json | |||
// @param Authorization header string true "验证参数Bearer和token空格拼接" | |||
// @Success 200 {object} md.AdvertisingBaseResp "具体数据" | |||
// @Success 200 {object} md.PlayletIncentiveBaseData "具体数据" | |||
// @Failure 400 {object} md.Response "具体错误" | |||
// @Router /api/advertising/getPlayletBasic [get] | |||
func GetPlayletBasic(c *gin.Context) { | |||
@@ -55,7 +55,7 @@ func GetPlayletBasic(c *gin.Context) { | |||
// @Accept json | |||
// @Produce json | |||
// @param Authorization header string true "验证参数Bearer和token空格拼接" | |||
// @Param req body md.AdvertisingBase true "(分页信息必填)" | |||
// @Param req body md.PlayletIncentiveBaseData true "(分页信息必填)" | |||
// @Success 200 {string} "具体数据" | |||
// @Failure 400 {object} md.Response "具体错误" | |||
// @Router /api/advertising/setPlayletBasic [post] | |||
@@ -362,7 +362,7 @@ const docTemplate = `{ | |||
"200": { | |||
"description": "具体数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.AdvertisingBaseResp" | |||
"$ref": "#/definitions/md.PlayletIncentiveBaseData" | |||
} | |||
}, | |||
"400": { | |||
@@ -589,7 +589,7 @@ const docTemplate = `{ | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.AdvertisingBase" | |||
"$ref": "#/definitions/md.PlayletIncentiveBaseData" | |||
} | |||
} | |||
], | |||
@@ -14353,6 +14353,27 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"md.PlayletIncentiveBaseData": { | |||
"type": "object", | |||
"properties": { | |||
"android_adv_id": { | |||
"type": "string", | |||
"example": "安卓激励视频广告位" | |||
}, | |||
"android_adv_secret": { | |||
"type": "string", | |||
"example": "安卓激励视频秘钥" | |||
}, | |||
"ios_adv_id": { | |||
"type": "string", | |||
"example": "iOS激励视频广告位" | |||
}, | |||
"ios_adv_secret": { | |||
"type": "string", | |||
"example": "iOS激励视频秘钥" | |||
} | |||
} | |||
}, | |||
"md.PriceSettingStruct": { | |||
"type": "object", | |||
"properties": { | |||
@@ -354,7 +354,7 @@ | |||
"200": { | |||
"description": "具体数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.AdvertisingBaseResp" | |||
"$ref": "#/definitions/md.PlayletIncentiveBaseData" | |||
} | |||
}, | |||
"400": { | |||
@@ -581,7 +581,7 @@ | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.AdvertisingBase" | |||
"$ref": "#/definitions/md.PlayletIncentiveBaseData" | |||
} | |||
} | |||
], | |||
@@ -14345,6 +14345,27 @@ | |||
} | |||
} | |||
}, | |||
"md.PlayletIncentiveBaseData": { | |||
"type": "object", | |||
"properties": { | |||
"android_adv_id": { | |||
"type": "string", | |||
"example": "安卓激励视频广告位" | |||
}, | |||
"android_adv_secret": { | |||
"type": "string", | |||
"example": "安卓激励视频秘钥" | |||
}, | |||
"ios_adv_id": { | |||
"type": "string", | |||
"example": "iOS激励视频广告位" | |||
}, | |||
"ios_adv_secret": { | |||
"type": "string", | |||
"example": "iOS激励视频秘钥" | |||
} | |||
} | |||
}, | |||
"md.PriceSettingStruct": { | |||
"type": "object", | |||
"properties": { | |||
@@ -3544,6 +3544,21 @@ definitions: | |||
example: 可领取总次数 | |||
type: string | |||
type: object | |||
md.PlayletIncentiveBaseData: | |||
properties: | |||
android_adv_id: | |||
example: 安卓激励视频广告位 | |||
type: string | |||
android_adv_secret: | |||
example: 安卓激励视频秘钥 | |||
type: string | |||
ios_adv_id: | |||
example: iOS激励视频广告位 | |||
type: string | |||
ios_adv_secret: | |||
example: iOS激励视频秘钥 | |||
type: string | |||
type: object | |||
md.PriceSettingStruct: | |||
properties: | |||
marketplace_merchants_fund_exchange_marketplace_merchants_nums_value: | |||
@@ -5532,7 +5547,7 @@ paths: | |||
"200": | |||
description: 具体数据 | |||
schema: | |||
$ref: '#/definitions/md.AdvertisingBaseResp' | |||
$ref: '#/definitions/md.PlayletIncentiveBaseData' | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
@@ -5680,7 +5695,7 @@ paths: | |||
name: req | |||
required: true | |||
schema: | |||
$ref: '#/definitions/md.AdvertisingBase' | |||
$ref: '#/definitions/md.PlayletIncentiveBaseData' | |||
produces: | |||
- application/json | |||
responses: | |||