zwl 5 年之前
父節點
當前提交
2d609c991b
共有 4 個文件被更改,包括 0 次插入16 次删除
  1. 0 2
      controllers/erms3/spotContract.go
  2. 0 5
      docs/docs.go
  3. 0 5
      docs/swagger.json
  4. 0 4
      docs/swagger.yaml

+ 0 - 2
controllers/erms3/spotContract.go

@@ -99,7 +99,6 @@ type AddSpotContractApplyReq struct {
 	OriMarginPayer     int32                `json:"orimarginpayer" binding:"required"`    // 初始保证金支付方 -1:买方 2:卖方
 	OriMargin          float64              `json:"orimargin" binding:"required"`         // 初始保证金
 	Remark             string               `json:"remark"`                               // 备注
-	MarketID           int32                `json:"marketid" binding:"required"`          // 市场ID
 	CreatorID          int32                `json:"creatorid"`                            // 申请人
 	Details            []SoptContractDetail `json:"details" binding:"required"`           // 明细
 }
@@ -171,7 +170,6 @@ func AddSpotContractApply(c *gin.Context) {
 		DetailJSON:         detailjson,
 		ApplyStatus:        0,
 		ApplySrc:           2,
-		MarketID:           req.MarketID,
 		CreatorID:          req.CreatorID,
 	}
 

+ 0 - 5
docs/docs.go

@@ -4519,7 +4519,6 @@ var doc = `{
                 "customeraccountid",
                 "customeruserid",
                 "details",
-                "marketid",
                 "orimargin",
                 "orimarginpayer",
                 "signdate"
@@ -4568,10 +4567,6 @@ var doc = `{
                     "description": "交货时间",
                     "type": "string"
                 },
-                "marketid": {
-                    "description": "市场ID",
-                    "type": "integer"
-                },
                 "orimargin": {
                     "description": "初始保证金",
                     "type": "number"

+ 0 - 5
docs/swagger.json

@@ -4503,7 +4503,6 @@
                 "customeraccountid",
                 "customeruserid",
                 "details",
-                "marketid",
                 "orimargin",
                 "orimarginpayer",
                 "signdate"
@@ -4552,10 +4551,6 @@
                     "description": "交货时间",
                     "type": "string"
                 },
-                "marketid": {
-                    "description": "市场ID",
-                    "type": "integer"
-                },
                 "orimargin": {
                     "description": "初始保证金",
                     "type": "number"

+ 0 - 4
docs/swagger.yaml

@@ -1232,9 +1232,6 @@ definitions:
       lastdate:
         description: 交货时间
         type: string
-      marketid:
-        description: 市场ID
-        type: integer
       orimargin:
         description: 初始保证金
         type: number
@@ -1255,7 +1252,6 @@ definitions:
     - customeraccountid
     - customeruserid
     - details
-    - marketid
     - orimargin
     - orimarginpayer
     - signdate