huangjiajun 3 місяці тому
джерело
коміт
e96b97e80f
3 змінених файлів з 23 додано та 12 видалено
  1. +8
    -4
      docs/docs.go
  2. +8
    -4
      docs/swagger.json
  3. +7
    -4
      docs/swagger.yaml

+ 8
- 4
docs/docs.go Переглянути файл

@@ -282,7 +282,7 @@ const docTemplate = `{
},
"/api/account/update/password": {
"post": {
"description": "资质认证-企业认证保存",
"description": "资质认证-修改密码保存",
"consumes": [
"application/json"
],
@@ -292,7 +292,7 @@ const docTemplate = `{
"tags": [
"账号中心------嘉俊"
],
"summary": "企业认证保存",
"summary": "修改密码保存",
"parameters": [
{
"type": "string",
@@ -327,7 +327,7 @@ const docTemplate = `{
}
}
},
"/api/applet/application/ad/space/list": {
"/api/application/applet/ad/space/list": {
"post": {
"description": "小程序应用-广告位列表",
"consumes": [
@@ -374,7 +374,7 @@ const docTemplate = `{
}
}
},
"/api/applet/application/ad/space/save": {
"/api/application/applet/ad/space/save": {
"post": {
"description": "小程序应用-广告位新增",
"consumes": [
@@ -1525,6 +1525,10 @@ const docTemplate = `{
"md.AppletApplicationAdSpaceListReq": {
"type": "object",
"properties": {
"ad_type": {
"type": "string",
"example": "广告位类型"
},
"cooperate_state": {
"type": "string",
"example": "合作状态"


+ 8
- 4
docs/swagger.json Переглянути файл

@@ -274,7 +274,7 @@
},
"/api/account/update/password": {
"post": {
"description": "资质认证-企业认证保存",
"description": "资质认证-修改密码保存",
"consumes": [
"application/json"
],
@@ -284,7 +284,7 @@
"tags": [
"账号中心------嘉俊"
],
"summary": "企业认证保存",
"summary": "修改密码保存",
"parameters": [
{
"type": "string",
@@ -319,7 +319,7 @@
}
}
},
"/api/applet/application/ad/space/list": {
"/api/application/applet/ad/space/list": {
"post": {
"description": "小程序应用-广告位列表",
"consumes": [
@@ -366,7 +366,7 @@
}
}
},
"/api/applet/application/ad/space/save": {
"/api/application/applet/ad/space/save": {
"post": {
"description": "小程序应用-广告位新增",
"consumes": [
@@ -1517,6 +1517,10 @@
"md.AppletApplicationAdSpaceListReq": {
"type": "object",
"properties": {
"ad_type": {
"type": "string",
"example": "广告位类型"
},
"cooperate_state": {
"type": "string",
"example": "合作状态"


+ 7
- 4
docs/swagger.yaml Переглянути файл

@@ -112,6 +112,9 @@ definitions:
type: object
md.AppletApplicationAdSpaceListReq:
properties:
ad_type:
example: 广告位类型
type: string
cooperate_state:
example: 合作状态
type: string
@@ -670,7 +673,7 @@ paths:
post:
consumes:
- application/json
description: 资质认证-企业认证保存
description: 资质认证-修改密码保存
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
@@ -694,10 +697,10 @@ paths:
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 企业认证保存
summary: 修改密码保存
tags:
- 账号中心------嘉俊
/api/applet/application/ad/space/list:
/api/application/applet/ad/space/list:
post:
consumes:
- application/json
@@ -728,7 +731,7 @@ paths:
summary: 广告位列表
tags:
- 小程序应用------嘉俊
/api/applet/application/ad/space/save:
/api/application/applet/ad/space/save:
post:
consumes:
- application/json


Завантаження…
Відмінити
Зберегти