- ignore price == 0 data in Change2JDSPU4Store
This commit is contained in:
@@ -187,6 +187,12 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
|
||||
err = api.EbaiAPI.ShopClose("", utils.Str2Int64(store.VendorStoreID))
|
||||
}
|
||||
if err != nil {
|
||||
// todo
|
||||
if intErr, ok := err.(*utils.ErrorWithCode); ok {
|
||||
if intErr.IntCode() == 201101 {
|
||||
err = nil
|
||||
}
|
||||
}
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user