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