同步错误返回

This commit is contained in:
苏尹岚
2019-12-04 10:32:43 +08:00
parent aade004105
commit 4c4ed40c24
4 changed files with 13 additions and 8 deletions

View File

@@ -309,7 +309,9 @@ func SelectStoreSkuListByResponseList(storeSkuList []*partner.StoreSkuInfo, resp
responseMap := make(map[string]string)
if len(responseList) > 0 {
for _, v := range responseList {
responseMap[v.OutSkuID] = v.Msg
if v.Code != "0" {
responseMap[v.OutSkuID] = v.Msg
}
}
for _, v := range storeSkuList {
if responseMap[utils.Int2Str(v.SkuID)] != "" {