ソースを参照

交收提货-线下交收单

zhou.xiaoning 2 年 前
コミット
844edd805f
1 ファイル変更114 行追加0 行削除
  1. 114 0
      docs/swagger.yaml

+ 114 - 0
docs/swagger.yaml

@@ -13865,6 +13865,86 @@ definitions:
     required:
     - buyuserid
     type: object
+  models.MineTradeGoodsDeliveryOffline:
+    properties:
+      accountid:
+        description: 账户ID
+        type: integer
+      buyorsell:
+        description: 交收方向 - 0:买 1:卖
+        type: integer
+      buyorselldisplay:
+        description: 交收方向
+        type: string
+      closetime:
+        description: 完成时间
+        type: string
+      closetradedate:
+        description: 完成交易日
+        type: string
+      deliveryamount:
+        description: 交收货款
+        type: number
+      deliveryinfo:
+        description: 交收信息
+        type: string
+      deliverylot:
+        description: 交收手数
+        type: integer
+      deliveryorderid:
+        description: 交收单号(905+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
+        type: string
+      deliveryprice:
+        description: 交收价格
+        type: number
+      deliveryqty:
+        description: 交收数量 (手数*合约乘数)
+        type: integer
+      goodscode:
+        description: 期货合约代码(内部)
+        type: string
+      goodsid:
+        description: 商品ID
+        type: integer
+      goodsname:
+        description: 期货合约名称
+        type: string
+      goodsnamedisplay:
+        description: 商品名称
+        type: string
+      goodsunit:
+        description: 单位
+        type: string
+      marketid:
+        description: 市场ID
+        type: integer
+      matchaccountid:
+        description: 对手方AccountID
+        type: integer
+      matchuserid:
+        description: 对手方UserID
+        type: integer
+      matchusername:
+        description: '[交收对手方]客户名称(企业名称)'
+        type: string
+      orderstatus:
+        description: 单据状态 - 1:待处理 2:交收中 3:已完成
+        type: integer
+      orderstatusdisplay:
+        description: 单据状态
+        type: string
+      reqtime:
+        description: 申请时间
+        type: string
+      reqtradedate:
+        description: 申请交易日
+        type: string
+      userid:
+        description: 申请用户ID
+        type: integer
+    required:
+    - userid
+    type: object
   models.MineTradeOrder:
     properties:
       accountid:
@@ -36825,6 +36905,40 @@ paths:
       summary: 我的持仓-预售持仓
       tags:
       - 我的
+  /Mine/QueryMineTradeGoodsDeliveryOfflines:
+    get:
+      parameters:
+      - description: 用户ID
+        in: query
+        name: userid
+        required: true
+        type: integer
+      - description: 页码
+        in: query
+        name: page
+        type: integer
+      - description: 每页条数
+        in: query
+        name: pagesize
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            items:
+              $ref: '#/definitions/models.MineTradeGoodsDeliveryOffline'
+            type: array
+        "500":
+          description: Internal Server Error
+          schema:
+            $ref: '#/definitions/app.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 交收提货-线下交收单
+      tags:
+      - 我的
   /Mine/QueryMineTradeOrderDetails:
     get:
       parameters: