zhou.xiaoning hace 2 años
padre
commit
0837d98ede
Se han modificado 4 ficheros con 12 adiciones y 12 borrados
  1. 4 4
      docs/docs.go
  2. 4 4
      docs/swagger.json
  3. 3 3
      docs/swagger.yaml
  4. 1 1
      models/presale.go

+ 4 - 4
docs/docs.go

@@ -43044,10 +43044,6 @@ const docTemplate = `{
                 "goodsid"
             ],
             "properties": {
-                "SELLNAME": {
-                    "description": "客户名称(企业名称)",
-                    "type": "string"
-                },
                 "bannerpicurl": {
                     "description": "Banner图(逗号分隔)(2:1)",
                     "type": "string"
@@ -43072,6 +43068,10 @@ const docTemplate = `{
                     "description": "发售价\\订货价(49)",
                     "type": "number"
                 },
+                "sellname": {
+                    "description": "客户名称(企业名称)",
+                    "type": "string"
+                },
                 "transferdepositratio": {
                     "description": "转让定金比例(49)",
                     "type": "number"

+ 4 - 4
docs/swagger.json

@@ -43035,10 +43035,6 @@
                 "goodsid"
             ],
             "properties": {
-                "SELLNAME": {
-                    "description": "客户名称(企业名称)",
-                    "type": "string"
-                },
                 "bannerpicurl": {
                     "description": "Banner图(逗号分隔)(2:1)",
                     "type": "string"
@@ -43063,6 +43059,10 @@
                     "description": "发售价\\订货价(49)",
                     "type": "number"
                 },
+                "sellname": {
+                    "description": "客户名称(企业名称)",
+                    "type": "string"
+                },
                 "transferdepositratio": {
                     "description": "转让定金比例(49)",
                     "type": "number"

+ 3 - 3
docs/swagger.yaml

@@ -16296,9 +16296,6 @@ definitions:
     type: object
   models.PresaleDefault:
     properties:
-      SELLNAME:
-        description: 客户名称(企业名称)
-        type: string
       bannerpicurl:
         description: Banner图(逗号分隔)(2:1)
         type: string
@@ -16317,6 +16314,9 @@ definitions:
       presaleprice:
         description: 发售价\订货价(49)
         type: number
+      sellname:
+        description: 客户名称(企业名称)
+        type: string
       transferdepositratio:
         description: 转让定金比例(49)
         type: number

+ 1 - 1
models/presale.go

@@ -134,7 +134,7 @@ type PresaleDefault struct {
 	BANNERPICURL string `json:"bannerpicurl" xorm:"BANNERPICURL"` // Banner图(逗号分隔)(2:1)
 	PICTUREURLS  string `json:"pictureurls" xorm:"PICTUREURLS"`   // 详情图片(逗号分隔)(宽:1125)
 
-	CUSTOMERNAME string `json:"SELLNAME" xorm:"CUSTOMERNAME"` // 客户名称(企业名称)
+	CUSTOMERNAME string `json:"sellname" xorm:"CUSTOMERNAME"` // 客户名称(企业名称)
 }
 
 func (r *PresaleDefault) calc() {