忽略饿百删除不存在错
This commit is contained in:
@@ -445,7 +445,9 @@ func SelectStoreSkuListByOpResult(storeSkuList []*partner.StoreSkuInfo, opResult
|
|||||||
opResultMap := make(map[int64]string)
|
opResultMap := make(map[int64]string)
|
||||||
if len(opResult.FailedList) > 0 {
|
if len(opResult.FailedList) > 0 {
|
||||||
for _, v := range opResult.FailedList {
|
for _, v := range opResult.FailedList {
|
||||||
opResultMap[v.SkuID] = v.ErrorMsg
|
if !(syncType == "删除商品" && ebaiapi.IsMsgSkuNotExist(v.ErrorMsg)) {
|
||||||
|
opResultMap[v.SkuID] = v.ErrorMsg
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for _, v := range storeSkuList {
|
for _, v := range storeSkuList {
|
||||||
if opResultMap[utils.Str2Int64(v.VendorSkuID)] != "" {
|
if opResultMap[utils.Str2Int64(v.VendorSkuID)] != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user