尝试获取京东商城订单
This commit is contained in:
@@ -458,10 +458,12 @@ func (a *API) ResetCoverImage(userId, keyword string) (err error) {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_, err = a.AccessStorePage("Product/ResetCoverImage", map[string]interface{}{
|
||||
"productImageId": findProductResult.Productimages[len(findProductResult.Productimages)-1].ID,
|
||||
"forMulColorSize": false,
|
||||
})
|
||||
if len(findProductResult.Productimages) > 0 {
|
||||
_, err = a.AccessStorePage("Product/ResetCoverImage", map[string]interface{}{
|
||||
"productImageId": findProductResult.Productimages[len(findProductResult.Productimages)-1].ID,
|
||||
"forMulColorSize": false,
|
||||
})
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user