|
|
@@ -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,
|
|
|
}
|
|
|
|