@@ -473,7 +473,7 @@ func ShareIndex(c *gin.Context) { | |||
// @Param args body md.SetMobReq true "请求参数" | |||
// @Success 200 {string} "success" | |||
// @Failure 400 {object} md.Response "具体错误" | |||
// @Router /api/setCenter/basic/setOss [POST] | |||
// @Router /api/setCenter/basic/setMob [POST] | |||
func SetMob(c *gin.Context) { | |||
var req md.SetMobReq | |||
err := c.ShouldBindJSON(&req) | |||
@@ -501,7 +501,7 @@ func SetMob(c *gin.Context) { | |||
// @Produce json | |||
// @Success 200 {object} md.SetOssResp | |||
// @Failure 400 {object} md.Response "具体错误" | |||
// @Router /api/setCenter/basic/getOss [GET] | |||
// @Router /api/setCenter/basic/getMob [GET] | |||
func GetMob(c *gin.Context) { | |||
masterId := svc.GetMasterId(c) | |||
engine := db.DBs[masterId] | |||
@@ -347,7 +347,101 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/ad/space/audit": { | |||
"/api/mediumCenter/agent/bind/medium/list": { | |||
"post": { | |||
"description": "媒体中心-代理绑定媒体列表", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "代理绑定媒体列表", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 这是data里面的数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListRes" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/agent/list": { | |||
"post": { | |||
"description": "媒体中心-代理列表", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "代理列表", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.AgentQualificationEnterpriseReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 这是data里面的数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.AgentQualificationEnterpriseRes" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/applet/application/ad/space/audit": { | |||
"post": { | |||
"description": "小程序应用-广告位审核", | |||
"consumes": [ | |||
@@ -394,7 +488,7 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/ad/space/list": { | |||
"/api/mediumCenter/applet/application/ad/space/list": { | |||
"post": { | |||
"description": "媒体中心-媒体列表", | |||
"consumes": [ | |||
@@ -441,7 +535,7 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/ad/space/save": { | |||
"/api/mediumCenter/applet/application/ad/space/save": { | |||
"post": { | |||
"description": "小程序应用-广告位列表", | |||
"consumes": [ | |||
@@ -488,7 +582,7 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/audit": { | |||
"/api/mediumCenter/applet/application/audit": { | |||
"post": { | |||
"description": "小程序应用-审核", | |||
"consumes": [ | |||
@@ -535,7 +629,7 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/list": { | |||
"/api/mediumCenter/applet/application/list": { | |||
"post": { | |||
"description": "小程序应用-列表数据", | |||
"consumes": [ | |||
@@ -582,7 +676,7 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/medium/list": { | |||
"/api/mediumCenter/applet/application/medium/list": { | |||
"post": { | |||
"description": "媒体中心-媒体列表", | |||
"consumes": [ | |||
@@ -629,6 +723,194 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/medium/bind/agent/del": { | |||
"post": { | |||
"description": "媒体中心-媒体绑定代理删除", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "媒体绑定代理删除", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListDelReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 ", | |||
"schema": { | |||
"type": "string" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/medium/bind/agent/list": { | |||
"post": { | |||
"description": "媒体中心-媒体绑定代理列表", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "媒体绑定代理列表", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 这是data里面的数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListRes" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/medium/bind/agent/save": { | |||
"post": { | |||
"description": "媒体中心-媒体绑定代理操作", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "媒体绑定代理操作", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListSaveReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 ", | |||
"schema": { | |||
"type": "string" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/medium/list": { | |||
"post": { | |||
"description": "媒体中心-媒体列表", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "媒体列表", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumQualificationEnterpriseReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 这是data里面的数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumQualificationEnterpriseRes" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumQualification/bank": { | |||
"post": { | |||
"responses": { | |||
@@ -1755,7 +2037,7 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/getOss": { | |||
"/api/setCenter/basic/getMob": { | |||
"get": { | |||
"description": "基础设置-mob获取", | |||
"consumes": [ | |||
@@ -1793,7 +2075,45 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/setOss": { | |||
"/api/setCenter/basic/getOss": { | |||
"get": { | |||
"description": "基础设置-oss获取", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"设置中心-基础设置" | |||
], | |||
"summary": "oss获取", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "OK", | |||
"schema": { | |||
"$ref": "#/definitions/md.SetOssResp" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/setMob": { | |||
"post": { | |||
"description": "基础设置-mob设置", | |||
"consumes": [ | |||
@@ -1840,6 +2160,53 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/setOss": { | |||
"post": { | |||
"description": "基础设置-oss设置", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"设置中心-基础设置" | |||
], | |||
"summary": "oss设置", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.SetOssReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "success", | |||
"schema": { | |||
"type": "string" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/wxOpenGet": { | |||
"get": { | |||
"description": "基础设置-微信三方应用获取", | |||
@@ -2136,6 +2503,10 @@ const docTemplate = `{ | |||
"md.AgentQualificationBankData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"agent_id": { | |||
"type": "string", | |||
"example": "代理id" | |||
@@ -2221,6 +2592,10 @@ const docTemplate = `{ | |||
"md.AgentQualificationContactData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"address": { | |||
"type": "string", | |||
"example": "联系地址" | |||
@@ -2300,6 +2675,10 @@ const docTemplate = `{ | |||
"md.AgentQualificationEnterpriseData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"agent_id": { | |||
"type": "string", | |||
"example": "代理id" | |||
@@ -2899,9 +3278,114 @@ const docTemplate = `{ | |||
} | |||
} | |||
}, | |||
"md.MediumListData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "媒体账号" | |||
}, | |||
"business_license_address": { | |||
"type": "string", | |||
"example": "营业执照地址" | |||
}, | |||
"company_name": { | |||
"type": "string", | |||
"example": "公司名称" | |||
}, | |||
"id": { | |||
"type": "string", | |||
"example": "id" | |||
}, | |||
"legal_representative": { | |||
"type": "string", | |||
"example": "法定代表人" | |||
}, | |||
"medium_id": { | |||
"type": "string", | |||
"example": "媒体id" | |||
}, | |||
"memo": { | |||
"type": "string", | |||
"example": "备注 审核时填写的" | |||
}, | |||
"state": { | |||
"type": "string", | |||
"example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)" | |||
}, | |||
"unified_social_credit_code": { | |||
"type": "string", | |||
"example": "统一社会信用代码" | |||
} | |||
} | |||
}, | |||
"md.MediumListDelReq": { | |||
"type": "object", | |||
"properties": { | |||
"id": { | |||
"type": "string", | |||
"example": "列表id" | |||
} | |||
} | |||
}, | |||
"md.MediumListReq": { | |||
"type": "object", | |||
"properties": { | |||
"id": { | |||
"type": "string" | |||
}, | |||
"limit": { | |||
"type": "string" | |||
}, | |||
"name": { | |||
"type": "string" | |||
}, | |||
"page": { | |||
"type": "string" | |||
}, | |||
"state": { | |||
"type": "string" | |||
} | |||
} | |||
}, | |||
"md.MediumListRes": { | |||
"type": "object", | |||
"properties": { | |||
"list": { | |||
"type": "array", | |||
"items": { | |||
"$ref": "#/definitions/md.MediumListData" | |||
} | |||
}, | |||
"state": { | |||
"type": "array", | |||
"items": { | |||
"$ref": "#/definitions/md.SelectData" | |||
} | |||
}, | |||
"total": { | |||
"type": "integer" | |||
} | |||
} | |||
}, | |||
"md.MediumListSaveReq": { | |||
"type": "object", | |||
"properties": { | |||
"medium_id": { | |||
"type": "string" | |||
}, | |||
"username": { | |||
"type": "string" | |||
} | |||
} | |||
}, | |||
"md.MediumQualificationContactData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"address": { | |||
"type": "string", | |||
"example": "联系地址" | |||
@@ -2981,6 +3465,10 @@ const docTemplate = `{ | |||
"md.MediumQualificationEnterpriseData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"business_license_address": { | |||
"type": "string", | |||
"example": "营业执照地址" | |||
@@ -339,7 +339,101 @@ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/ad/space/audit": { | |||
"/api/mediumCenter/agent/bind/medium/list": { | |||
"post": { | |||
"description": "媒体中心-代理绑定媒体列表", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "代理绑定媒体列表", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 这是data里面的数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListRes" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/agent/list": { | |||
"post": { | |||
"description": "媒体中心-代理列表", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "代理列表", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.AgentQualificationEnterpriseReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 这是data里面的数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.AgentQualificationEnterpriseRes" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/applet/application/ad/space/audit": { | |||
"post": { | |||
"description": "小程序应用-广告位审核", | |||
"consumes": [ | |||
@@ -386,7 +480,7 @@ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/ad/space/list": { | |||
"/api/mediumCenter/applet/application/ad/space/list": { | |||
"post": { | |||
"description": "媒体中心-媒体列表", | |||
"consumes": [ | |||
@@ -433,7 +527,7 @@ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/ad/space/save": { | |||
"/api/mediumCenter/applet/application/ad/space/save": { | |||
"post": { | |||
"description": "小程序应用-广告位列表", | |||
"consumes": [ | |||
@@ -480,7 +574,7 @@ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/audit": { | |||
"/api/mediumCenter/applet/application/audit": { | |||
"post": { | |||
"description": "小程序应用-审核", | |||
"consumes": [ | |||
@@ -527,7 +621,7 @@ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/list": { | |||
"/api/mediumCenter/applet/application/list": { | |||
"post": { | |||
"description": "小程序应用-列表数据", | |||
"consumes": [ | |||
@@ -574,7 +668,7 @@ | |||
} | |||
} | |||
}, | |||
"/api/medium/applet/application/medium/list": { | |||
"/api/mediumCenter/applet/application/medium/list": { | |||
"post": { | |||
"description": "媒体中心-媒体列表", | |||
"consumes": [ | |||
@@ -621,6 +715,194 @@ | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/medium/bind/agent/del": { | |||
"post": { | |||
"description": "媒体中心-媒体绑定代理删除", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "媒体绑定代理删除", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListDelReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 ", | |||
"schema": { | |||
"type": "string" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/medium/bind/agent/list": { | |||
"post": { | |||
"description": "媒体中心-媒体绑定代理列表", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "媒体绑定代理列表", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 这是data里面的数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListRes" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/medium/bind/agent/save": { | |||
"post": { | |||
"description": "媒体中心-媒体绑定代理操作", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "媒体绑定代理操作", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumListSaveReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 ", | |||
"schema": { | |||
"type": "string" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumCenter/medium/list": { | |||
"post": { | |||
"description": "媒体中心-媒体列表", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"媒体中心------嘉俊" | |||
], | |||
"summary": "媒体列表", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumQualificationEnterpriseReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "具体看返回内容 这是data里面的数据", | |||
"schema": { | |||
"$ref": "#/definitions/md.MediumQualificationEnterpriseRes" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/mediumQualification/bank": { | |||
"post": { | |||
"responses": { | |||
@@ -1747,7 +2029,7 @@ | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/getOss": { | |||
"/api/setCenter/basic/getMob": { | |||
"get": { | |||
"description": "基础设置-mob获取", | |||
"consumes": [ | |||
@@ -1785,7 +2067,45 @@ | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/setOss": { | |||
"/api/setCenter/basic/getOss": { | |||
"get": { | |||
"description": "基础设置-oss获取", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"设置中心-基础设置" | |||
], | |||
"summary": "oss获取", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "OK", | |||
"schema": { | |||
"$ref": "#/definitions/md.SetOssResp" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/setMob": { | |||
"post": { | |||
"description": "基础设置-mob设置", | |||
"consumes": [ | |||
@@ -1832,6 +2152,53 @@ | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/setOss": { | |||
"post": { | |||
"description": "基础设置-oss设置", | |||
"consumes": [ | |||
"application/json" | |||
], | |||
"produces": [ | |||
"application/json" | |||
], | |||
"tags": [ | |||
"设置中心-基础设置" | |||
], | |||
"summary": "oss设置", | |||
"parameters": [ | |||
{ | |||
"type": "string", | |||
"description": "验证参数Bearer和token空格拼接", | |||
"name": "Authorization", | |||
"in": "header", | |||
"required": true | |||
}, | |||
{ | |||
"description": "请求参数", | |||
"name": "args", | |||
"in": "body", | |||
"required": true, | |||
"schema": { | |||
"$ref": "#/definitions/md.SetOssReq" | |||
} | |||
} | |||
], | |||
"responses": { | |||
"200": { | |||
"description": "success", | |||
"schema": { | |||
"type": "string" | |||
} | |||
}, | |||
"400": { | |||
"description": "具体错误", | |||
"schema": { | |||
"$ref": "#/definitions/md.Response" | |||
} | |||
} | |||
} | |||
} | |||
}, | |||
"/api/setCenter/basic/wxOpenGet": { | |||
"get": { | |||
"description": "基础设置-微信三方应用获取", | |||
@@ -2128,6 +2495,10 @@ | |||
"md.AgentQualificationBankData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"agent_id": { | |||
"type": "string", | |||
"example": "代理id" | |||
@@ -2213,6 +2584,10 @@ | |||
"md.AgentQualificationContactData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"address": { | |||
"type": "string", | |||
"example": "联系地址" | |||
@@ -2292,6 +2667,10 @@ | |||
"md.AgentQualificationEnterpriseData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"agent_id": { | |||
"type": "string", | |||
"example": "代理id" | |||
@@ -2891,9 +3270,114 @@ | |||
} | |||
} | |||
}, | |||
"md.MediumListData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "媒体账号" | |||
}, | |||
"business_license_address": { | |||
"type": "string", | |||
"example": "营业执照地址" | |||
}, | |||
"company_name": { | |||
"type": "string", | |||
"example": "公司名称" | |||
}, | |||
"id": { | |||
"type": "string", | |||
"example": "id" | |||
}, | |||
"legal_representative": { | |||
"type": "string", | |||
"example": "法定代表人" | |||
}, | |||
"medium_id": { | |||
"type": "string", | |||
"example": "媒体id" | |||
}, | |||
"memo": { | |||
"type": "string", | |||
"example": "备注 审核时填写的" | |||
}, | |||
"state": { | |||
"type": "string", | |||
"example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)" | |||
}, | |||
"unified_social_credit_code": { | |||
"type": "string", | |||
"example": "统一社会信用代码" | |||
} | |||
} | |||
}, | |||
"md.MediumListDelReq": { | |||
"type": "object", | |||
"properties": { | |||
"id": { | |||
"type": "string", | |||
"example": "列表id" | |||
} | |||
} | |||
}, | |||
"md.MediumListReq": { | |||
"type": "object", | |||
"properties": { | |||
"id": { | |||
"type": "string" | |||
}, | |||
"limit": { | |||
"type": "string" | |||
}, | |||
"name": { | |||
"type": "string" | |||
}, | |||
"page": { | |||
"type": "string" | |||
}, | |||
"state": { | |||
"type": "string" | |||
} | |||
} | |||
}, | |||
"md.MediumListRes": { | |||
"type": "object", | |||
"properties": { | |||
"list": { | |||
"type": "array", | |||
"items": { | |||
"$ref": "#/definitions/md.MediumListData" | |||
} | |||
}, | |||
"state": { | |||
"type": "array", | |||
"items": { | |||
"$ref": "#/definitions/md.SelectData" | |||
} | |||
}, | |||
"total": { | |||
"type": "integer" | |||
} | |||
} | |||
}, | |||
"md.MediumListSaveReq": { | |||
"type": "object", | |||
"properties": { | |||
"medium_id": { | |||
"type": "string" | |||
}, | |||
"username": { | |||
"type": "string" | |||
} | |||
} | |||
}, | |||
"md.MediumQualificationContactData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"address": { | |||
"type": "string", | |||
"example": "联系地址" | |||
@@ -2973,6 +3457,10 @@ | |||
"md.MediumQualificationEnterpriseData": { | |||
"type": "object", | |||
"properties": { | |||
"account": { | |||
"type": "string", | |||
"example": "账号" | |||
}, | |||
"business_license_address": { | |||
"type": "string", | |||
"example": "营业执照地址" | |||
@@ -57,6 +57,9 @@ definitions: | |||
type: object | |||
md.AgentQualificationBankData: | |||
properties: | |||
account: | |||
example: 账号 | |||
type: string | |||
agent_id: | |||
example: 代理id | |||
type: string | |||
@@ -117,6 +120,9 @@ definitions: | |||
type: object | |||
md.AgentQualificationContactData: | |||
properties: | |||
account: | |||
example: 账号 | |||
type: string | |||
address: | |||
example: 联系地址 | |||
type: string | |||
@@ -172,6 +178,9 @@ definitions: | |||
type: object | |||
md.AgentQualificationEnterpriseData: | |||
properties: | |||
account: | |||
example: 账号 | |||
type: string | |||
agent_id: | |||
example: 代理id | |||
type: string | |||
@@ -592,8 +601,80 @@ definitions: | |||
token: | |||
type: string | |||
type: object | |||
md.MediumListData: | |||
properties: | |||
account: | |||
example: 媒体账号 | |||
type: string | |||
business_license_address: | |||
example: 营业执照地址 | |||
type: string | |||
company_name: | |||
example: 公司名称 | |||
type: string | |||
id: | |||
example: id | |||
type: string | |||
legal_representative: | |||
example: 法定代表人 | |||
type: string | |||
medium_id: | |||
example: 媒体id | |||
type: string | |||
memo: | |||
example: 备注 审核时填写的 | |||
type: string | |||
state: | |||
example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝) | |||
type: string | |||
unified_social_credit_code: | |||
example: 统一社会信用代码 | |||
type: string | |||
type: object | |||
md.MediumListDelReq: | |||
properties: | |||
id: | |||
example: 列表id | |||
type: string | |||
type: object | |||
md.MediumListReq: | |||
properties: | |||
id: | |||
type: string | |||
limit: | |||
type: string | |||
name: | |||
type: string | |||
page: | |||
type: string | |||
state: | |||
type: string | |||
type: object | |||
md.MediumListRes: | |||
properties: | |||
list: | |||
items: | |||
$ref: '#/definitions/md.MediumListData' | |||
type: array | |||
state: | |||
items: | |||
$ref: '#/definitions/md.SelectData' | |||
type: array | |||
total: | |||
type: integer | |||
type: object | |||
md.MediumListSaveReq: | |||
properties: | |||
medium_id: | |||
type: string | |||
username: | |||
type: string | |||
type: object | |||
md.MediumQualificationContactData: | |||
properties: | |||
account: | |||
example: 账号 | |||
type: string | |||
address: | |||
example: 联系地址 | |||
type: string | |||
@@ -649,6 +730,9 @@ definitions: | |||
type: object | |||
md.MediumQualificationEnterpriseData: | |||
properties: | |||
account: | |||
example: 账号 | |||
type: string | |||
business_license_address: | |||
example: 营业执照地址 | |||
type: string | |||
@@ -1195,7 +1279,69 @@ paths: | |||
summary: 登陆 | |||
tags: | |||
- 登录 | |||
/api/medium/applet/application/ad/space/audit: | |||
/api/mediumCenter/agent/bind/medium/list: | |||
post: | |||
consumes: | |||
- application/json | |||
description: 媒体中心-代理绑定媒体列表 | |||
parameters: | |||
- description: 验证参数Bearer和token空格拼接 | |||
in: header | |||
name: Authorization | |||
required: true | |||
type: string | |||
- description: 请求参数 | |||
in: body | |||
name: args | |||
required: true | |||
schema: | |||
$ref: '#/definitions/md.MediumListReq' | |||
produces: | |||
- application/json | |||
responses: | |||
"200": | |||
description: 具体看返回内容 这是data里面的数据 | |||
schema: | |||
$ref: '#/definitions/md.MediumListRes' | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
$ref: '#/definitions/md.Response' | |||
summary: 代理绑定媒体列表 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/mediumCenter/agent/list: | |||
post: | |||
consumes: | |||
- application/json | |||
description: 媒体中心-代理列表 | |||
parameters: | |||
- description: 验证参数Bearer和token空格拼接 | |||
in: header | |||
name: Authorization | |||
required: true | |||
type: string | |||
- description: 请求参数 | |||
in: body | |||
name: args | |||
required: true | |||
schema: | |||
$ref: '#/definitions/md.AgentQualificationEnterpriseReq' | |||
produces: | |||
- application/json | |||
responses: | |||
"200": | |||
description: 具体看返回内容 这是data里面的数据 | |||
schema: | |||
$ref: '#/definitions/md.AgentQualificationEnterpriseRes' | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
$ref: '#/definitions/md.Response' | |||
summary: 代理列表 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/mediumCenter/applet/application/ad/space/audit: | |||
post: | |||
consumes: | |||
- application/json | |||
@@ -1226,7 +1372,7 @@ paths: | |||
summary: 广告位审核 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/medium/applet/application/ad/space/list: | |||
/api/mediumCenter/applet/application/ad/space/list: | |||
post: | |||
consumes: | |||
- application/json | |||
@@ -1257,7 +1403,7 @@ paths: | |||
summary: 媒体列表 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/medium/applet/application/ad/space/save: | |||
/api/mediumCenter/applet/application/ad/space/save: | |||
post: | |||
consumes: | |||
- application/json | |||
@@ -1288,7 +1434,7 @@ paths: | |||
summary: 广告位列表 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/medium/applet/application/audit: | |||
/api/mediumCenter/applet/application/audit: | |||
post: | |||
consumes: | |||
- application/json | |||
@@ -1319,7 +1465,7 @@ paths: | |||
summary: 审核 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/medium/applet/application/list: | |||
/api/mediumCenter/applet/application/list: | |||
post: | |||
consumes: | |||
- application/json | |||
@@ -1350,7 +1496,7 @@ paths: | |||
summary: 应用列表 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/medium/applet/application/medium/list: | |||
/api/mediumCenter/applet/application/medium/list: | |||
post: | |||
consumes: | |||
- application/json | |||
@@ -1381,6 +1527,130 @@ paths: | |||
summary: 媒体列表 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/mediumCenter/medium/bind/agent/del: | |||
post: | |||
consumes: | |||
- application/json | |||
description: 媒体中心-媒体绑定代理删除 | |||
parameters: | |||
- description: 验证参数Bearer和token空格拼接 | |||
in: header | |||
name: Authorization | |||
required: true | |||
type: string | |||
- description: 请求参数 | |||
in: body | |||
name: args | |||
required: true | |||
schema: | |||
$ref: '#/definitions/md.MediumListDelReq' | |||
produces: | |||
- application/json | |||
responses: | |||
"200": | |||
description: '具体看返回内容 ' | |||
schema: | |||
type: string | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
$ref: '#/definitions/md.Response' | |||
summary: 媒体绑定代理删除 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/mediumCenter/medium/bind/agent/list: | |||
post: | |||
consumes: | |||
- application/json | |||
description: 媒体中心-媒体绑定代理列表 | |||
parameters: | |||
- description: 验证参数Bearer和token空格拼接 | |||
in: header | |||
name: Authorization | |||
required: true | |||
type: string | |||
- description: 请求参数 | |||
in: body | |||
name: args | |||
required: true | |||
schema: | |||
$ref: '#/definitions/md.MediumListReq' | |||
produces: | |||
- application/json | |||
responses: | |||
"200": | |||
description: 具体看返回内容 这是data里面的数据 | |||
schema: | |||
$ref: '#/definitions/md.MediumListRes' | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
$ref: '#/definitions/md.Response' | |||
summary: 媒体绑定代理列表 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/mediumCenter/medium/bind/agent/save: | |||
post: | |||
consumes: | |||
- application/json | |||
description: 媒体中心-媒体绑定代理操作 | |||
parameters: | |||
- description: 验证参数Bearer和token空格拼接 | |||
in: header | |||
name: Authorization | |||
required: true | |||
type: string | |||
- description: 请求参数 | |||
in: body | |||
name: args | |||
required: true | |||
schema: | |||
$ref: '#/definitions/md.MediumListSaveReq' | |||
produces: | |||
- application/json | |||
responses: | |||
"200": | |||
description: '具体看返回内容 ' | |||
schema: | |||
type: string | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
$ref: '#/definitions/md.Response' | |||
summary: 媒体绑定代理操作 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/mediumCenter/medium/list: | |||
post: | |||
consumes: | |||
- application/json | |||
description: 媒体中心-媒体列表 | |||
parameters: | |||
- description: 验证参数Bearer和token空格拼接 | |||
in: header | |||
name: Authorization | |||
required: true | |||
type: string | |||
- description: 请求参数 | |||
in: body | |||
name: args | |||
required: true | |||
schema: | |||
$ref: '#/definitions/md.MediumQualificationEnterpriseReq' | |||
produces: | |||
- application/json | |||
responses: | |||
"200": | |||
description: 具体看返回内容 这是data里面的数据 | |||
schema: | |||
$ref: '#/definitions/md.MediumQualificationEnterpriseRes' | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
$ref: '#/definitions/md.Response' | |||
summary: 媒体列表 | |||
tags: | |||
- 媒体中心------嘉俊 | |||
/api/mediumQualification/bank: | |||
post: | |||
responses: | |||
@@ -2122,7 +2392,7 @@ paths: | |||
summary: 更新 | |||
tags: | |||
- 设置中心-小程序设置 | |||
/api/setCenter/basic/getOss: | |||
/api/setCenter/basic/getMob: | |||
get: | |||
consumes: | |||
- application/json | |||
@@ -2147,7 +2417,32 @@ paths: | |||
summary: mob获取 | |||
tags: | |||
- 设置中心-基础设置 | |||
/api/setCenter/basic/setOss: | |||
/api/setCenter/basic/getOss: | |||
get: | |||
consumes: | |||
- application/json | |||
description: 基础设置-oss获取 | |||
parameters: | |||
- description: 验证参数Bearer和token空格拼接 | |||
in: header | |||
name: Authorization | |||
required: true | |||
type: string | |||
produces: | |||
- application/json | |||
responses: | |||
"200": | |||
description: OK | |||
schema: | |||
$ref: '#/definitions/md.SetOssResp' | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
$ref: '#/definitions/md.Response' | |||
summary: oss获取 | |||
tags: | |||
- 设置中心-基础设置 | |||
/api/setCenter/basic/setMob: | |||
post: | |||
consumes: | |||
- application/json | |||
@@ -2178,6 +2473,37 @@ paths: | |||
summary: mob设置 | |||
tags: | |||
- 设置中心-基础设置 | |||
/api/setCenter/basic/setOss: | |||
post: | |||
consumes: | |||
- application/json | |||
description: 基础设置-oss设置 | |||
parameters: | |||
- description: 验证参数Bearer和token空格拼接 | |||
in: header | |||
name: Authorization | |||
required: true | |||
type: string | |||
- description: 请求参数 | |||
in: body | |||
name: args | |||
required: true | |||
schema: | |||
$ref: '#/definitions/md.SetOssReq' | |||
produces: | |||
- application/json | |||
responses: | |||
"200": | |||
description: success | |||
schema: | |||
type: string | |||
"400": | |||
description: 具体错误 | |||
schema: | |||
$ref: '#/definitions/md.Response' | |||
summary: oss设置 | |||
tags: | |||
- 设置中心-基础设置 | |||
/api/setCenter/basic/wxOpenGet: | |||
get: | |||
consumes: | |||