Browse Source

更新swagger

Simon Zhou 5 years ago
parent
commit
f2dca140d7
3 changed files with 14 additions and 3 deletions
  1. 5 1
      docs/docs.go
  2. 5 1
      docs/swagger.json
  3. 4 1
      docs/swagger.yaml

+ 5 - 1
docs/docs.go

@@ -90,7 +90,7 @@ var doc = `{
                 "tags": [
                     "产能预售"
                 ],
-                "summary": "查询我的产能预售信息",
+                "summary": "查询我的预售信息",
                 "parameters": [
                     {
                         "type": "integer",
@@ -505,6 +505,10 @@ var doc = `{
                     "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
                     "type": "integer"
                 },
+                "applyremark": {
+                    "description": "申请备注",
+                    "type": "string"
+                },
                 "applystatus": {
                     "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
                     "type": "integer"

+ 5 - 1
docs/swagger.json

@@ -74,7 +74,7 @@
                 "tags": [
                     "产能预售"
                 ],
-                "summary": "查询我的产能预售信息",
+                "summary": "查询我的预售信息",
                 "parameters": [
                     {
                         "type": "integer",
@@ -489,6 +489,10 @@
                     "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
                     "type": "integer"
                 },
+                "applyremark": {
+                    "description": "申请备注",
+                    "type": "string"
+                },
                 "applystatus": {
                     "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
                     "type": "integer"

+ 4 - 1
docs/swagger.yaml

@@ -73,6 +73,9 @@ definitions:
       applyid:
         description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
         type: integer
+      applyremark:
+        description: 申请备注
+        type: string
       applystatus:
         description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
         type: integer
@@ -564,7 +567,7 @@ paths:
             $ref: '#/definitions/app.Response'
       security:
       - ApiKeyAuth: []
-      summary: 查询我的产能预售信息
+      summary: 查询我的预售信息
       tags:
       - 产能预售
   /CPTrade/QueryPositionCancel: