银豹api修改
This commit is contained in:
@@ -235,7 +235,18 @@ type FindProductResult struct {
|
|||||||
CategoryType int `json:"categoryType"`
|
CategoryType int `json:"categoryType"`
|
||||||
TxtUID string `json:"txtUid"`
|
TxtUID string `json:"txtUid"`
|
||||||
} `json:"category"`
|
} `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"`
|
CategoryShowID int `json:"categoryShowId"`
|
||||||
ParentHas int `json:"parentHas"`
|
ParentHas int `json:"parentHas"`
|
||||||
TxtUID string `json:"txtUid"`
|
TxtUID string `json:"txtUid"`
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
sigKey = "sign"
|
sigKey = "sign"
|
||||||
url = "https://area27-win.pospal.cn:443/pospal-api2/openapi/v1"
|
url = "https://area27-win.pospal.cn:443/pospal-api2/openapi/v1"
|
||||||
|
ImageUrl = "http://pospalstoreimg.area27.pospal.cn//"
|
||||||
statusSuccess = "success"
|
statusSuccess = "success"
|
||||||
|
|
||||||
skuExistErrCode = "5004"
|
skuExistErrCode = "5004"
|
||||||
|
|||||||
Reference in New Issue
Block a user