银豹创建商品返回struct修改
This commit is contained in:
@@ -133,17 +133,17 @@ type ProductInfoParam struct {
|
||||
}
|
||||
|
||||
type AddProductInfoResult struct {
|
||||
ID int `json:"id"`
|
||||
UID int64 `json:"uid"`
|
||||
UserID int `json:"userId"`
|
||||
Name string `json:"name"`
|
||||
Barcode string `json:"barcode"`
|
||||
BuyPrice int `json:"buyPrice"`
|
||||
SellPrice int `json:"sellPrice"`
|
||||
Stock int `json:"stock"`
|
||||
Pinyin string `json:"pinyin"`
|
||||
Enable int `json:"enable"`
|
||||
CreatedDatetime string `json:"createdDatetime"`
|
||||
ID int `json:"id"`
|
||||
UID int64 `json:"uid"`
|
||||
UserID int `json:"userId"`
|
||||
Name string `json:"name"`
|
||||
Barcode string `json:"barcode"`
|
||||
BuyPrice float64 `json:"buyPrice"`
|
||||
SellPrice float64 `json:"sellPrice"`
|
||||
Stock float64 `json:"stock"`
|
||||
Pinyin string `json:"pinyin"`
|
||||
Enable int `json:"enable"`
|
||||
CreatedDatetime string `json:"createdDatetime"`
|
||||
}
|
||||
|
||||
//新增商品
|
||||
|
||||
Reference in New Issue
Block a user