银豹api修改
This commit is contained in:
@@ -235,7 +235,18 @@ type FindProductResult struct {
|
||||
CategoryType int `json:"categoryType"`
|
||||
TxtUID string `json:"txtUid"`
|
||||
} `json:"category"`
|
||||
Productimages []interface{} `json:"productimages"`
|
||||
Productimages []struct {
|
||||
Barcode string `json:"barcode"`
|
||||
CreatedDatetime string `json:"createdDatetime"`
|
||||
ID int `json:"id"`
|
||||
IsCover bool `json:"isCover"`
|
||||
Path string `json:"path"`
|
||||
ProductName string `json:"productName"`
|
||||
ProductUID int64 `json:"productUid"`
|
||||
UID int64 `json:"uid"`
|
||||
UpdatedDatetime string `json:"updatedDatetime"`
|
||||
UserID int `json:"userId"`
|
||||
} `json:"productimages"`
|
||||
CategoryShowID int `json:"categoryShowId"`
|
||||
ParentHas int `json:"parentHas"`
|
||||
TxtUID string `json:"txtUid"`
|
||||
|
||||
@@ -17,6 +17,7 @@ import (
|
||||
const (
|
||||
sigKey = "sign"
|
||||
url = "https://area27-win.pospal.cn:443/pospal-api2/openapi/v1"
|
||||
ImageUrl = "http://pospalstoreimg.area27.pospal.cn//"
|
||||
statusSuccess = "success"
|
||||
|
||||
skuExistErrCode = "5004"
|
||||
|
||||
Reference in New Issue
Block a user