- ignore price == 0 data in Change2JDSPU4Store

This commit is contained in:
gazebo
2019-01-05 16:26:13 +08:00
parent 9bbdcbe27d
commit fb575d9b72
2 changed files with 7 additions and 1 deletions

View File

@@ -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
}
}