Преглед изворни кода

更新:models.InternalEnableTradeDetail配置

gitmuchinfo пре 3 година
родитељ
комит
313199c570
2 измењених фајлова са 22 додато и 13 уклоњено
  1. 12 12
      docs/swagger.json
  2. 10 1
      docs/swagger.yaml

+ 12 - 12
docs/swagger.json

@@ -30400,10 +30400,18 @@
                 "goodsid"
             ],
             "properties": {
+                "agreeunit": {
+                    "description": "合约乘数",
+                    "type": "number"
+                },
                 "areauserid": {
                     "description": "企业ID",
                     "type": "integer"
                 },
+                "convertratio": {
+                    "description": "品种系数",
+                    "type": "number"
+                },
                 "deliverygoodscode": {
                     "description": "现货品种代码",
                     "type": "string"
@@ -30424,6 +30432,10 @@
                     "description": "期货合约ID",
                     "type": "integer"
                 },
+                "hedgeditemid": {
+                    "description": "被套期项目ID",
+                    "type": "string"
+                },
                 "hedgeditemnum": {
                     "description": "项目编号",
                     "type": "string"
@@ -30447,18 +30459,6 @@
                 "wrstandardname": {
                     "description": "现货品类名称",
                     "type": "string"
-                },
-                "hedgeditemid": {
-                    "description": "被套期项目ID",
-                    "type": "string"
-                },
-                "agreeunit": {
-                    "description": "合约乘数",
-                    "type": "number"
-                },
-                "convertratio": {
-                    "description": "品种系数",
-                    "type": "number"
                 }
             }
         },

+ 10 - 1
docs/swagger.yaml

@@ -11020,9 +11020,15 @@ definitions:
     type: object
   models.InternalEnableTradeDetail:
     properties:
+      agreeunit:
+        description: 合约乘数
+        type: number
       areauserid:
         description: 企业ID
         type: integer
+      convertratio:
+        description: 品种系数
+        type: number   
       deliverygoodscode:
         description: 现货品种代码
         type: string
@@ -11038,6 +11044,9 @@ definitions:
       goodsid:
         description: 期货合约ID
         type: integer
+      hedgeditemid:
+        description: 被套期项目ID
+        type: string      
       hedgeditemnum:
         description: 项目编号
         type: string
@@ -11055,7 +11064,7 @@ definitions:
         type: integer
       wrstandardname:
         description: 现货品类名称
-        type: string
+        type: string             
     required:
     - areauserid
     - goodsid