浏览代码

update swag

master
shenjiachi 1周前
父节点
当前提交
1beed8bf9e
共有 3 个文件被更改,包括 191 次插入159 次删除
  1. +70
    -58
      docs/docs.go
  2. +70
    -58
      docs/swagger.json
  3. +51
    -43
      docs/swagger.yaml

+ 70
- 58
docs/docs.go 查看文件

@@ -9423,6 +9423,63 @@ const docTemplate = `{
}
}
},
"md.DynamicRespNode": {
"type": "object",
"properties": {
"content": {
"description": "文本内容",
"type": "string"
},
"created_at": {
"type": "string"
},
"image": {
"description": "图片",
"type": "array",
"items": {
"type": "string"
}
},
"index_id": {
"description": "动态id",
"type": "string"
},
"is_praise": {
"description": "是否被表扬(1:是 2:否)",
"type": "integer"
},
"is_top_up": {
"description": "是否置顶(1:是 2:否)",
"type": "integer"
},
"kind": {
"description": "类型(1:普通 2:官方)",
"type": "integer"
},
"state": {
"description": "状态(1:正常 2:隐藏)",
"type": "integer"
},
"uid": {
"description": "用户id",
"type": "integer"
},
"updated_at": {
"type": "string"
},
"username": {
"description": "用户名称",
"type": "string"
},
"video": {
"description": "视频",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"md.EggEnergyAvailableEnergyFlow": {
"type": "object",
"properties": {
@@ -9583,57 +9640,6 @@ const docTemplate = `{
}
}
},
"md.EggFriendCircleNode": {
"type": "object",
"properties": {
"content": {
"description": "文本内容",
"type": "string"
},
"created_at": {
"type": "string"
},
"image": {
"description": "图片",
"type": "string"
},
"index_id": {
"description": "动态id",
"type": "string"
},
"is_praise": {
"description": "是否被表扬(1:是 2:否)",
"type": "integer"
},
"is_top_up": {
"description": "是否置顶(1:是 2:否)",
"type": "integer"
},
"kind": {
"description": "类型(1:普通 2:官方)",
"type": "integer"
},
"state": {
"description": "状态(1:正常 2:隐藏)",
"type": "integer"
},
"uid": {
"description": "用户id",
"type": "integer"
},
"updated_at": {
"type": "string"
},
"username": {
"description": "用户名称",
"type": "string"
},
"video": {
"description": "视频",
"type": "string"
}
}
},
"md.EggPointCoefficientBatchAddReq": {
"type": "object",
"properties": {
@@ -10143,7 +10149,7 @@ const docTemplate = `{
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/md.EggFriendCircleNode"
"$ref": "#/definitions/md.DynamicRespNode"
}
},
"paginate": {
@@ -12204,14 +12210,17 @@ const docTemplate = `{
"md.ReleaseDynamicReq": {
"type": "object",
"properties": {
"[]image": {
"description": "图片",
"type": "string"
},
"content": {
"description": "文本内容",
"type": "string"
},
"image": {
"description": "图片",
"type": "array",
"items": {
"type": "string"
}
},
"is_praise": {
"description": "是否被表扬(1:是 2:否)",
"type": "integer"
@@ -12229,8 +12238,11 @@ const docTemplate = `{
"type": "integer"
},
"video": {
"description": "视频 uri",
"type": "string"
"description": "视频",
"type": "array",
"items": {
"type": "string"
}
}
}
},


+ 70
- 58
docs/swagger.json 查看文件

@@ -9416,6 +9416,63 @@
}
}
},
"md.DynamicRespNode": {
"type": "object",
"properties": {
"content": {
"description": "文本内容",
"type": "string"
},
"created_at": {
"type": "string"
},
"image": {
"description": "图片",
"type": "array",
"items": {
"type": "string"
}
},
"index_id": {
"description": "动态id",
"type": "string"
},
"is_praise": {
"description": "是否被表扬(1:是 2:否)",
"type": "integer"
},
"is_top_up": {
"description": "是否置顶(1:是 2:否)",
"type": "integer"
},
"kind": {
"description": "类型(1:普通 2:官方)",
"type": "integer"
},
"state": {
"description": "状态(1:正常 2:隐藏)",
"type": "integer"
},
"uid": {
"description": "用户id",
"type": "integer"
},
"updated_at": {
"type": "string"
},
"username": {
"description": "用户名称",
"type": "string"
},
"video": {
"description": "视频",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"md.EggEnergyAvailableEnergyFlow": {
"type": "object",
"properties": {
@@ -9576,57 +9633,6 @@
}
}
},
"md.EggFriendCircleNode": {
"type": "object",
"properties": {
"content": {
"description": "文本内容",
"type": "string"
},
"created_at": {
"type": "string"
},
"image": {
"description": "图片",
"type": "string"
},
"index_id": {
"description": "动态id",
"type": "string"
},
"is_praise": {
"description": "是否被表扬(1:是 2:否)",
"type": "integer"
},
"is_top_up": {
"description": "是否置顶(1:是 2:否)",
"type": "integer"
},
"kind": {
"description": "类型(1:普通 2:官方)",
"type": "integer"
},
"state": {
"description": "状态(1:正常 2:隐藏)",
"type": "integer"
},
"uid": {
"description": "用户id",
"type": "integer"
},
"updated_at": {
"type": "string"
},
"username": {
"description": "用户名称",
"type": "string"
},
"video": {
"description": "视频",
"type": "string"
}
}
},
"md.EggPointCoefficientBatchAddReq": {
"type": "object",
"properties": {
@@ -10136,7 +10142,7 @@
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/md.EggFriendCircleNode"
"$ref": "#/definitions/md.DynamicRespNode"
}
},
"paginate": {
@@ -12197,14 +12203,17 @@
"md.ReleaseDynamicReq": {
"type": "object",
"properties": {
"[]image": {
"description": "图片",
"type": "string"
},
"content": {
"description": "文本内容",
"type": "string"
},
"image": {
"description": "图片",
"type": "array",
"items": {
"type": "string"
}
},
"is_praise": {
"description": "是否被表扬(1:是 2:否)",
"type": "integer"
@@ -12222,8 +12231,11 @@
"type": "integer"
},
"video": {
"description": "视频 uri",
"type": "string"
"description": "视频",
"type": "array",
"items": {
"type": "string"
}
}
}
},


+ 51
- 43
docs/swagger.yaml 查看文件

@@ -1266,6 +1266,47 @@ definitions:
paginate:
$ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate'
type: object
md.DynamicRespNode:
properties:
content:
description: 文本内容
type: string
created_at:
type: string
image:
description: 图片
items:
type: string
type: array
index_id:
description: 动态id
type: string
is_praise:
description: 是否被表扬(1:是 2:否)
type: integer
is_top_up:
description: 是否置顶(1:是 2:否)
type: integer
kind:
description: 类型(1:普通 2:官方)
type: integer
state:
description: 状态(1:正常 2:隐藏)
type: integer
uid:
description: 用户id
type: integer
updated_at:
type: string
username:
description: 用户名称
type: string
video:
description: 视频
items:
type: string
type: array
type: object
md.EggEnergyAvailableEnergyFlow:
properties:
after_community_dividends:
@@ -1382,43 +1423,6 @@ definitions:
uid:
type: integer
type: object
md.EggFriendCircleNode:
properties:
content:
description: 文本内容
type: string
created_at:
type: string
image:
description: 图片
type: string
index_id:
description: 动态id
type: string
is_praise:
description: 是否被表扬(1:是 2:否)
type: integer
is_top_up:
description: 是否置顶(1:是 2:否)
type: integer
kind:
description: 类型(1:普通 2:官方)
type: integer
state:
description: 状态(1:正常 2:隐藏)
type: integer
uid:
description: 用户id
type: integer
updated_at:
type: string
username:
description: 用户名称
type: string
video:
description: 视频
type: string
type: object
md.EggPointCoefficientBatchAddReq:
properties:
list:
@@ -1771,7 +1775,7 @@ definitions:
properties:
list:
items:
$ref: '#/definitions/md.EggFriendCircleNode'
$ref: '#/definitions/md.DynamicRespNode'
type: array
paginate:
allOf:
@@ -3206,12 +3210,14 @@ definitions:
type: object
md.ReleaseDynamicReq:
properties:
'[]image':
description: 图片
type: string
content:
description: 文本内容
type: string
image:
description: 图片
items:
type: string
type: array
is_praise:
description: 是否被表扬(1:是 2:否)
type: integer
@@ -3225,8 +3231,10 @@ definitions:
description: 状态(1:正常 2:隐藏)
type: integer
video:
description: 视频 uri
type: string
description: 视频
items:
type: string
type: array
type: object
md.Response:
properties:


正在加载...
取消
保存