银豹创建商品返回struct修改
This commit is contained in:
@@ -138,9 +138,9 @@ type AddProductInfoResult struct {
|
|||||||
UserID int `json:"userId"`
|
UserID int `json:"userId"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Barcode string `json:"barcode"`
|
Barcode string `json:"barcode"`
|
||||||
BuyPrice int `json:"buyPrice"`
|
BuyPrice float64 `json:"buyPrice"`
|
||||||
SellPrice int `json:"sellPrice"`
|
SellPrice float64 `json:"sellPrice"`
|
||||||
Stock int `json:"stock"`
|
Stock float64 `json:"stock"`
|
||||||
Pinyin string `json:"pinyin"`
|
Pinyin string `json:"pinyin"`
|
||||||
Enable int `json:"enable"`
|
Enable int `json:"enable"`
|
||||||
CreatedDatetime string `json:"createdDatetime"`
|
CreatedDatetime string `json:"createdDatetime"`
|
||||||
|
|||||||
Reference in New Issue
Block a user