huangjiajun преди 2 месеца
родител
ревизия
c7df8b584e
променени са 4 файла, в които са добавени 75 реда и са изтрити 75 реда
  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 Целия файл

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

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

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

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

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

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

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


+ 21
- 21
docs/docs.go Целия файл

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


+ 21
- 21
docs/swagger.json Целия файл

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


+ 21
- 21
docs/swagger.yaml Целия файл

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


Зареждане…
Отказ
Запис