Quellcode durchsuchen

/Ermcp/GetErmcpGoods 接口增加出参

zhou.xiaoning vor 1 Jahr
Ursprung
Commit
2bda0bfdf2

+ 4 - 4
controllers/guangzuan/tradeService.go

@@ -18,8 +18,8 @@ import (
 // @Security Group
 // @Param    userid   query    int    true  "用户ID"
 // @Param    executestatus query    int false "执行状态 - 1:未生效 2:进行中 3:已结束"
-// @Param    page     query    int    false "页码"
-// @Param    pagesize query    int    false "每页条数"
+// @Param    page          query    int false "页码"
+// @Param    pagesize      query    int false "每页条数"
 // @Success  200           {array}  models.GzcjjcorderM
 // @Failure  500     {object} app.Response
 // @Router   /Guangzuan/QueryGZCJJCOrder [get]
@@ -39,8 +39,8 @@ func QueryGZCJJCOrder(c *gin.Context) {
 // @Security Group
 // @Param    userid        query    int true  "用户ID"
 // @Param    orderid  query    string false "单据ID"
-// @Param    page          query    int false "页码"
-// @Param    pagesize      query    int false "每页条数"
+// @Param    page     query    int    false "页码"
+// @Param    pagesize query    int    false "每页条数"
 // @Success  200      {array}  models.GzcjjcorderdetailM
 // @Failure  500           {object} app.Response
 // @Router   /Guangzuan/QueryGZCJJCOrderDetail [get]

+ 8 - 0
docs/docs.go

@@ -35801,6 +35801,14 @@ const docTemplate = `{
                     "description": "商品图片",
                     "type": "string"
                 },
+                "provideraccountid": {
+                    "description": "发售方资金账户ID(49)\\供货商资金账户ID(50)",
+                    "type": "integer"
+                },
+                "provideruserid": {
+                    "description": "发售方用户ID(49)\\供货商(50)",
+                    "type": "integer"
+                },
                 "qtydecimalplace": {
                     "description": "成交量小数位",
                     "type": "integer"

+ 8 - 0
docs/swagger.json

@@ -35792,6 +35792,14 @@
                     "description": "商品图片",
                     "type": "string"
                 },
+                "provideraccountid": {
+                    "description": "发售方资金账户ID(49)\\供货商资金账户ID(50)",
+                    "type": "integer"
+                },
+                "provideruserid": {
+                    "description": "发售方用户ID(49)\\供货商(50)",
+                    "type": "integer"
+                },
                 "qtydecimalplace": {
                     "description": "成交量小数位",
                     "type": "integer"

+ 6 - 0
docs/swagger.yaml

@@ -9259,6 +9259,12 @@ definitions:
       pictureurl:
         description: 商品图片
         type: string
+      provideraccountid:
+        description: 发售方资金账户ID(49)\供货商资金账户ID(50)
+        type: integer
+      provideruserid:
+        description: 发售方用户ID(49)\供货商(50)
+        type: integer
       qtydecimalplace:
         description: 成交量小数位
         type: integer

+ 2 - 0
models/ermcpGoods.go

@@ -76,6 +76,8 @@ type ErmcpGoods struct {
 	Marketmarginalgorithm int64     `json:"marketmarginalgorithm"  xorm:"MARKETMARGINALGORITHM"`   // 保证金计算方式
 	Marketmarginvalue     float64   `json:"marketmarginvalue"  xorm:"MARKETMARGINVALUE"`           // 即市保证金值
 	Mindeliverylot        int64     `json:"mindeliverylot"  xorm:"MINDELIVERYLOT"`                 // 最小交收手数(50模式)
+	PROVIDERUSERID        int64     `json:"provideruserid" xorm:"PROVIDERUSERID"`                  // 发售方用户ID(49)\供货商(50)
+	PROVIDERACCOUNTID     int64     `json:"provideraccountid" xorm:"PROVIDERACCOUNTID"`            // 发售方资金账户ID(49)\供货商资金账户ID(50)
 
 	Relatedgoodsid int32 `json:"relatedgoodsid"  xorm:"REFGOODSID"` // 关联参考商品ID
 

BIN
services/asign/templates/贵茶2/交易商须知-个人.docx


BIN
services/asign/templates/贵茶2/入市协议-个人.docx


BIN
services/asign/templates/贵茶2/风险告知书-个人.docx