1
This commit is contained in:
@@ -30,12 +30,13 @@ func (a *API) AddStoreSku(param *request.AlibabaWdkSkuAddRequest) (*[]VegetableR
|
||||
for _, v := range *data.Result.Models {
|
||||
if *v.Success {
|
||||
foodList = append(foodList, VegetableResultList{
|
||||
ProductID: *v.ProductId,
|
||||
ProductID: *v.Model,
|
||||
SkuID: *v.Model,
|
||||
ErrMsg: "",
|
||||
})
|
||||
} else {
|
||||
foodList = append(foodList, VegetableResultList{
|
||||
ProductID: "",
|
||||
ProductID: "0",
|
||||
SkuID: *v.Model,
|
||||
ErrMsg: *v.ErrMsg,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user