Quellcode durchsuchen

查仓单持有记录接口增加bannerpicurl 字段

zou.yingbin vor 3 Jahren
Ursprung
Commit
343191d111
4 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
  1. 4 0
      docs/docs.go
  2. 4 0
      docs/swagger.json
  3. 3 0
      docs/swagger.yaml
  4. 2 0
      models/wrTrade2.go

+ 4 - 0
docs/docs.go

@@ -35160,6 +35160,10 @@ var doc = `{
                     "description": "持有人帐户ID",
                     "type": "integer"
                 },
+                "bannerpicurl": {
+                    "description": "Banner图",
+                    "type": "string"
+                },
                 "createtime": {
                     "description": "创建时间(过户时间)",
                     "type": "string"

+ 4 - 0
docs/swagger.json

@@ -35145,6 +35145,10 @@
                     "description": "持有人帐户ID",
                     "type": "integer"
                 },
+                "bannerpicurl": {
+                    "description": "Banner图",
+                    "type": "string"
+                },
                 "createtime": {
                     "description": "创建时间(过户时间)",
                     "type": "string"

+ 3 - 0
docs/swagger.yaml

@@ -15527,6 +15527,9 @@ definitions:
       accountid:
         description: 持有人帐户ID
         type: integer
+      bannerpicurl:
+        description: Banner图
+        type: string
       createtime:
         description: 创建时间(过户时间)
         type: string

+ 2 - 0
models/wrTrade2.go

@@ -1747,6 +1747,7 @@ type WrHoldLB struct {
 	WRID            string  `json:"wrid"  xorm:"WRID" form:"wrid"`                                  // 仓单变更ID
 	PARENTSUBNUM    int32   `json:"parentsubnum"  xorm:"PARENTSUBNUM" form:"parentsubnum"`          // 拆分父子单号
 	PLEDGEQTY       float64 `json:"pledgeqty"  xorm:"'-'"`                                          // 质押数量
+	BANNERPICURL    string  `json:"bannerpicurl"  xorm:"BANNERPICURL"`                              // Banner图
 	Wr2FactorType   `xorm:"extends"`
 
 	WRHOLDENO string  `json:"wrholdeno"` // 仓单编号
@@ -1772,6 +1773,7 @@ func (r *WrHoldLB) buildSql() string {
 		"         g.deliverygoodsname," +
 		"         w.wrstandardcode," +
 		"         w.wrstandardname," +
+		"         w.bannerpicurl," +
 		"         w.minivalue," +
 		"         h.warehousecode," +
 		"         h.warehousename," +