Browse Source

更新

master
huangjiajun 2 weeks ago
parent
commit
c7df8b584e
4 changed files with 75 additions and 75 deletions
  1. +12
    -12
      app/hdl/hdl_medium_agent.go
  2. +21
    -21
      docs/docs.go
  3. +21
    -21
      docs/swagger.json
  4. +21
    -21
      docs/swagger.yaml

+ 12
- 12
app/hdl/hdl_medium_agent.go View File

@@ -10,8 +10,8 @@ import (


// AgentList // AgentList
// @Summary 代理列表 // @Summary 代理列表
// @Tags 媒体中心------嘉俊
// @Description 媒体中心-代理列表
// @Tags 关联中心------嘉俊
// @Description 关联中心-代理列表
// @param Authorization header string true "验证参数Bearer和token空格拼接" // @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Accept json // @Accept json
// @Produce json // @Produce json
@@ -35,8 +35,8 @@ func AgentList(c *gin.Context) {


// AgentBindMediumList // AgentBindMediumList
// @Summary 代理绑定媒体列表 // @Summary 代理绑定媒体列表
// @Tags 媒体中心------嘉俊
// @Description 媒体中心-代理绑定媒体列表
// @Tags 关联中心------嘉俊
// @Description 关联中心-代理绑定媒体列表
// @param Authorization header string true "验证参数Bearer和token空格拼接" // @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Accept json // @Accept json
// @Produce json // @Produce json
@@ -51,8 +51,8 @@ func AgentBindMediumList(c *gin.Context) {


// MediumList // MediumList
// @Summary 媒体列表 // @Summary 媒体列表
// @Tags 媒体中心------嘉俊
// @Description 媒体中心-媒体列表
// @Tags 关联中心------嘉俊
// @Description 关联中心-媒体列表
// @param Authorization header string true "验证参数Bearer和token空格拼接" // @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Accept json // @Accept json
// @Produce json // @Produce json
@@ -76,8 +76,8 @@ func MediumList(c *gin.Context) {


// MediumBindAgentList // MediumBindAgentList
// @Summary 媒体绑定代理列表 // @Summary 媒体绑定代理列表
// @Tags 媒体中心------嘉俊
// @Description 媒体中心-媒体绑定代理列表
// @Tags 关联中心------嘉俊
// @Description 关联中心-媒体绑定代理列表
// @param Authorization header string true "验证参数Bearer和token空格拼接" // @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Accept json // @Accept json
// @Produce json // @Produce json
@@ -92,8 +92,8 @@ func MediumBindAgentList(c *gin.Context) {


// MediumBindAgentSave // MediumBindAgentSave
// @Summary 媒体绑定代理操作 // @Summary 媒体绑定代理操作
// @Tags 媒体中心------嘉俊
// @Description 媒体中心-媒体绑定代理操作
// @Tags 关联中心------嘉俊
// @Description 关联中心-媒体绑定代理操作
// @param Authorization header string true "验证参数Bearer和token空格拼接" // @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Accept json // @Accept json
// @Produce json // @Produce json
@@ -108,8 +108,8 @@ func MediumBindAgentSave(c *gin.Context) {


// MediumBindAgentDel // MediumBindAgentDel
// @Summary 媒体绑定代理删除 // @Summary 媒体绑定代理删除
// @Tags 媒体中心------嘉俊
// @Description 媒体中心-媒体绑定代理删除
// @Tags 关联中心------嘉俊
// @Description 关联中心-媒体绑定代理删除
// @param Authorization header string true "验证参数Bearer和token空格拼接" // @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Accept json // @Accept json
// @Produce json // @Produce json


+ 21
- 21
docs/docs.go View File

@@ -2325,7 +2325,7 @@ const docTemplate = `{
}, },
"/api/mediumCenter/agent/bind/medium/list": { "/api/mediumCenter/agent/bind/medium/list": {
"post": { "post": {
"description": "媒体中心-代理绑定媒体列表",
"description": "关联中心-代理绑定媒体列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2333,7 +2333,7 @@ const docTemplate = `{
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "代理绑定媒体列表", "summary": "代理绑定媒体列表",
"parameters": [ "parameters": [
@@ -2372,7 +2372,7 @@ const docTemplate = `{
}, },
"/api/mediumCenter/agent/list": { "/api/mediumCenter/agent/list": {
"post": { "post": {
"description": "媒体中心-代理列表",
"description": "关联中心-代理列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2380,7 +2380,7 @@ const docTemplate = `{
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "代理列表", "summary": "代理列表",
"parameters": [ "parameters": [
@@ -2466,7 +2466,7 @@ const docTemplate = `{
}, },
"/api/mediumCenter/applet/application/ad/space/list": { "/api/mediumCenter/applet/application/ad/space/list": {
"post": { "post": {
"description": "媒体中心-媒体列表",
"description": "小程序应用-广告位列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2476,7 +2476,7 @@ const docTemplate = `{
"tags": [ "tags": [
"媒体中心------嘉俊" "媒体中心------嘉俊"
], ],
"summary": "媒体列表",
"summary": "广告位列表",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
@@ -2491,7 +2491,7 @@ const docTemplate = `{
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListReq"
"$ref": "#/definitions/md.AppletApplicationAdSpaceListReq"
} }
} }
], ],
@@ -2499,7 +2499,7 @@ const docTemplate = `{
"200": { "200": {
"description": "具体看返回内容---这是data里面的数据", "description": "具体看返回内容---这是data里面的数据",
"schema": { "schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListRes"
"$ref": "#/definitions/md.AppletApplicationAdSpaceListRes"
} }
}, },
"400": { "400": {
@@ -2511,9 +2511,9 @@ const docTemplate = `{
} }
} }
}, },
"/api/mediumCenter/applet/application/ad/space/save": {
"/api/mediumCenter/applet/application/ad/space/medium/list": {
"post": { "post": {
"description": "小程序应用-广告位列表",
"description": "广告位管理-媒体列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2523,7 +2523,7 @@ const docTemplate = `{
"tags": [ "tags": [
"媒体中心------嘉俊" "媒体中心------嘉俊"
], ],
"summary": "广告位列表",
"summary": "广告位管理-媒体列表",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
@@ -2538,7 +2538,7 @@ const docTemplate = `{
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceListReq"
"$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListReq"
} }
} }
], ],
@@ -2546,7 +2546,7 @@ const docTemplate = `{
"200": { "200": {
"description": "具体看返回内容---这是data里面的数据", "description": "具体看返回内容---这是data里面的数据",
"schema": { "schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceListRes"
"$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListRes"
} }
}, },
"400": { "400": {
@@ -2701,7 +2701,7 @@ const docTemplate = `{
}, },
"/api/mediumCenter/medium/bind/agent/del": { "/api/mediumCenter/medium/bind/agent/del": {
"post": { "post": {
"description": "媒体中心-媒体绑定代理删除",
"description": "关联中心-媒体绑定代理删除",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2709,7 +2709,7 @@ const docTemplate = `{
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "媒体绑定代理删除", "summary": "媒体绑定代理删除",
"parameters": [ "parameters": [
@@ -2748,7 +2748,7 @@ const docTemplate = `{
}, },
"/api/mediumCenter/medium/bind/agent/list": { "/api/mediumCenter/medium/bind/agent/list": {
"post": { "post": {
"description": "媒体中心-媒体绑定代理列表",
"description": "关联中心-媒体绑定代理列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2756,7 +2756,7 @@ const docTemplate = `{
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "媒体绑定代理列表", "summary": "媒体绑定代理列表",
"parameters": [ "parameters": [
@@ -2795,7 +2795,7 @@ const docTemplate = `{
}, },
"/api/mediumCenter/medium/bind/agent/save": { "/api/mediumCenter/medium/bind/agent/save": {
"post": { "post": {
"description": "媒体中心-媒体绑定代理操作",
"description": "关联中心-媒体绑定代理操作",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2803,7 +2803,7 @@ const docTemplate = `{
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "媒体绑定代理操作", "summary": "媒体绑定代理操作",
"parameters": [ "parameters": [
@@ -2842,7 +2842,7 @@ const docTemplate = `{
}, },
"/api/mediumCenter/medium/list": { "/api/mediumCenter/medium/list": {
"post": { "post": {
"description": "媒体中心-媒体列表",
"description": "关联中心-媒体列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2850,7 +2850,7 @@ const docTemplate = `{
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "媒体列表", "summary": "媒体列表",
"parameters": [ "parameters": [


+ 21
- 21
docs/swagger.json View File

@@ -2317,7 +2317,7 @@
}, },
"/api/mediumCenter/agent/bind/medium/list": { "/api/mediumCenter/agent/bind/medium/list": {
"post": { "post": {
"description": "媒体中心-代理绑定媒体列表",
"description": "关联中心-代理绑定媒体列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2325,7 +2325,7 @@
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "代理绑定媒体列表", "summary": "代理绑定媒体列表",
"parameters": [ "parameters": [
@@ -2364,7 +2364,7 @@
}, },
"/api/mediumCenter/agent/list": { "/api/mediumCenter/agent/list": {
"post": { "post": {
"description": "媒体中心-代理列表",
"description": "关联中心-代理列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2372,7 +2372,7 @@
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "代理列表", "summary": "代理列表",
"parameters": [ "parameters": [
@@ -2458,7 +2458,7 @@
}, },
"/api/mediumCenter/applet/application/ad/space/list": { "/api/mediumCenter/applet/application/ad/space/list": {
"post": { "post": {
"description": "媒体中心-媒体列表",
"description": "小程序应用-广告位列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2468,7 +2468,7 @@
"tags": [ "tags": [
"媒体中心------嘉俊" "媒体中心------嘉俊"
], ],
"summary": "媒体列表",
"summary": "广告位列表",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
@@ -2483,7 +2483,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListReq"
"$ref": "#/definitions/md.AppletApplicationAdSpaceListReq"
} }
} }
], ],
@@ -2491,7 +2491,7 @@
"200": { "200": {
"description": "具体看返回内容---这是data里面的数据", "description": "具体看返回内容---这是data里面的数据",
"schema": { "schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListRes"
"$ref": "#/definitions/md.AppletApplicationAdSpaceListRes"
} }
}, },
"400": { "400": {
@@ -2503,9 +2503,9 @@
} }
} }
}, },
"/api/mediumCenter/applet/application/ad/space/save": {
"/api/mediumCenter/applet/application/ad/space/medium/list": {
"post": { "post": {
"description": "小程序应用-广告位列表",
"description": "广告位管理-媒体列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2515,7 +2515,7 @@
"tags": [ "tags": [
"媒体中心------嘉俊" "媒体中心------嘉俊"
], ],
"summary": "广告位列表",
"summary": "广告位管理-媒体列表",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
@@ -2530,7 +2530,7 @@
"in": "body", "in": "body",
"required": true, "required": true,
"schema": { "schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceListReq"
"$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListReq"
} }
} }
], ],
@@ -2538,7 +2538,7 @@
"200": { "200": {
"description": "具体看返回内容---这是data里面的数据", "description": "具体看返回内容---这是data里面的数据",
"schema": { "schema": {
"$ref": "#/definitions/md.AppletApplicationAdSpaceListRes"
"$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListRes"
} }
}, },
"400": { "400": {
@@ -2693,7 +2693,7 @@
}, },
"/api/mediumCenter/medium/bind/agent/del": { "/api/mediumCenter/medium/bind/agent/del": {
"post": { "post": {
"description": "媒体中心-媒体绑定代理删除",
"description": "关联中心-媒体绑定代理删除",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2701,7 +2701,7 @@
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "媒体绑定代理删除", "summary": "媒体绑定代理删除",
"parameters": [ "parameters": [
@@ -2740,7 +2740,7 @@
}, },
"/api/mediumCenter/medium/bind/agent/list": { "/api/mediumCenter/medium/bind/agent/list": {
"post": { "post": {
"description": "媒体中心-媒体绑定代理列表",
"description": "关联中心-媒体绑定代理列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2748,7 +2748,7 @@
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "媒体绑定代理列表", "summary": "媒体绑定代理列表",
"parameters": [ "parameters": [
@@ -2787,7 +2787,7 @@
}, },
"/api/mediumCenter/medium/bind/agent/save": { "/api/mediumCenter/medium/bind/agent/save": {
"post": { "post": {
"description": "媒体中心-媒体绑定代理操作",
"description": "关联中心-媒体绑定代理操作",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2795,7 +2795,7 @@
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "媒体绑定代理操作", "summary": "媒体绑定代理操作",
"parameters": [ "parameters": [
@@ -2834,7 +2834,7 @@
}, },
"/api/mediumCenter/medium/list": { "/api/mediumCenter/medium/list": {
"post": { "post": {
"description": "媒体中心-媒体列表",
"description": "关联中心-媒体列表",
"consumes": [ "consumes": [
"application/json" "application/json"
], ],
@@ -2842,7 +2842,7 @@
"application/json" "application/json"
], ],
"tags": [ "tags": [
"媒体中心------嘉俊"
"关联中心------嘉俊"
], ],
"summary": "媒体列表", "summary": "媒体列表",
"parameters": [ "parameters": [


+ 21
- 21
docs/swagger.yaml View File

@@ -3982,7 +3982,7 @@ paths:
post: post:
consumes: consumes:
- application/json - application/json
description: 媒体中心-代理绑定媒体列表
description: 关联中心-代理绑定媒体列表
parameters: parameters:
- description: 验证参数Bearer和token空格拼接 - description: 验证参数Bearer和token空格拼接
in: header in: header
@@ -4008,12 +4008,12 @@ paths:
$ref: '#/definitions/md.Response' $ref: '#/definitions/md.Response'
summary: 代理绑定媒体列表 summary: 代理绑定媒体列表
tags: tags:
- 媒体中心------嘉俊
- 关联中心------嘉俊
/api/mediumCenter/agent/list: /api/mediumCenter/agent/list:
post: post:
consumes: consumes:
- application/json - application/json
description: 媒体中心-代理列表
description: 关联中心-代理列表
parameters: parameters:
- description: 验证参数Bearer和token空格拼接 - description: 验证参数Bearer和token空格拼接
in: header in: header
@@ -4039,7 +4039,7 @@ paths:
$ref: '#/definitions/md.Response' $ref: '#/definitions/md.Response'
summary: 代理列表 summary: 代理列表
tags: tags:
- 媒体中心------嘉俊
- 关联中心------嘉俊
/api/mediumCenter/applet/application/ad/space/audit: /api/mediumCenter/applet/application/ad/space/audit:
post: post:
consumes: consumes:
@@ -4075,7 +4075,7 @@ paths:
post: post:
consumes: consumes:
- application/json - application/json
description: 媒体中心-媒体列表
description: 小程序应用-广告位列表
parameters: parameters:
- description: 验证参数Bearer和token空格拼接 - description: 验证参数Bearer和token空格拼接
in: header in: header
@@ -4087,26 +4087,26 @@ paths:
name: args name: args
required: true required: true
schema: schema:
$ref: '#/definitions/md.AppletApplicationAdSpaceMediumListReq'
$ref: '#/definitions/md.AppletApplicationAdSpaceListReq'
produces: produces:
- application/json - application/json
responses: responses:
"200": "200":
description: 具体看返回内容---这是data里面的数据 description: 具体看返回内容---这是data里面的数据
schema: schema:
$ref: '#/definitions/md.AppletApplicationAdSpaceMediumListRes'
$ref: '#/definitions/md.AppletApplicationAdSpaceListRes'
"400": "400":
description: 具体错误 description: 具体错误
schema: schema:
$ref: '#/definitions/md.Response' $ref: '#/definitions/md.Response'
summary: 媒体列表
summary: 广告位列表
tags: tags:
- 媒体中心------嘉俊 - 媒体中心------嘉俊
/api/mediumCenter/applet/application/ad/space/save:
/api/mediumCenter/applet/application/ad/space/medium/list:
post: post:
consumes: consumes:
- application/json - application/json
description: 小程序应用-广告位列表
description: 广告位管理-媒体列表
parameters: parameters:
- description: 验证参数Bearer和token空格拼接 - description: 验证参数Bearer和token空格拼接
in: header in: header
@@ -4118,19 +4118,19 @@ paths:
name: args name: args
required: true required: true
schema: schema:
$ref: '#/definitions/md.AppletApplicationAdSpaceListReq'
$ref: '#/definitions/md.AppletApplicationAdSpaceMediumListReq'
produces: produces:
- application/json - application/json
responses: responses:
"200": "200":
description: 具体看返回内容---这是data里面的数据 description: 具体看返回内容---这是data里面的数据
schema: schema:
$ref: '#/definitions/md.AppletApplicationAdSpaceListRes'
$ref: '#/definitions/md.AppletApplicationAdSpaceMediumListRes'
"400": "400":
description: 具体错误 description: 具体错误
schema: schema:
$ref: '#/definitions/md.Response' $ref: '#/definitions/md.Response'
summary: 广告位列表
summary: 广告位管理-媒体列表
tags: tags:
- 媒体中心------嘉俊 - 媒体中心------嘉俊
/api/mediumCenter/applet/application/audit: /api/mediumCenter/applet/application/audit:
@@ -4230,7 +4230,7 @@ paths:
post: post:
consumes: consumes:
- application/json - application/json
description: 媒体中心-媒体绑定代理删除
description: 关联中心-媒体绑定代理删除
parameters: parameters:
- description: 验证参数Bearer和token空格拼接 - description: 验证参数Bearer和token空格拼接
in: header in: header
@@ -4256,12 +4256,12 @@ paths:
$ref: '#/definitions/md.Response' $ref: '#/definitions/md.Response'
summary: 媒体绑定代理删除 summary: 媒体绑定代理删除
tags: tags:
- 媒体中心------嘉俊
- 关联中心------嘉俊
/api/mediumCenter/medium/bind/agent/list: /api/mediumCenter/medium/bind/agent/list:
post: post:
consumes: consumes:
- application/json - application/json
description: 媒体中心-媒体绑定代理列表
description: 关联中心-媒体绑定代理列表
parameters: parameters:
- description: 验证参数Bearer和token空格拼接 - description: 验证参数Bearer和token空格拼接
in: header in: header
@@ -4287,12 +4287,12 @@ paths:
$ref: '#/definitions/md.Response' $ref: '#/definitions/md.Response'
summary: 媒体绑定代理列表 summary: 媒体绑定代理列表
tags: tags:
- 媒体中心------嘉俊
- 关联中心------嘉俊
/api/mediumCenter/medium/bind/agent/save: /api/mediumCenter/medium/bind/agent/save:
post: post:
consumes: consumes:
- application/json - application/json
description: 媒体中心-媒体绑定代理操作
description: 关联中心-媒体绑定代理操作
parameters: parameters:
- description: 验证参数Bearer和token空格拼接 - description: 验证参数Bearer和token空格拼接
in: header in: header
@@ -4318,12 +4318,12 @@ paths:
$ref: '#/definitions/md.Response' $ref: '#/definitions/md.Response'
summary: 媒体绑定代理操作 summary: 媒体绑定代理操作
tags: tags:
- 媒体中心------嘉俊
- 关联中心------嘉俊
/api/mediumCenter/medium/list: /api/mediumCenter/medium/list:
post: post:
consumes: consumes:
- application/json - application/json
description: 媒体中心-媒体列表
description: 关联中心-媒体列表
parameters: parameters:
- description: 验证参数Bearer和token空格拼接 - description: 验证参数Bearer和token空格拼接
in: header in: header
@@ -4349,7 +4349,7 @@ paths:
$ref: '#/definitions/md.Response' $ref: '#/definitions/md.Response'
summary: 媒体列表 summary: 媒体列表
tags: tags:
- 媒体中心------嘉俊
- 关联中心------嘉俊
/api/mediumQualification/bank: /api/mediumQualification/bank:
post: post:
consumes: consumes:


Loading…
Cancel
Save