diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index 435f5e65a..7ca22d248 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -664,21 +664,26 @@ func buildErrMsg(task tasksch.ITask) (err error) { for _, vv := range v.([]*partner.StoreSkuInfoWithErr) { if vv.StoreSkuInfo != nil { result := &SyncErrResult{ - SkuID: vv.StoreSkuInfo.SkuID, - StoreID: vv.StoreID, - VendorID: vv.VendoreID, - VendorSkuID: vv.StoreSkuInfo.VendorSkuID, - NameID: vv.StoreSkuInfo.NameID, - VendorPrice: vv.StoreSkuInfo.VendorPrice, - SyncType: vv.SyncType, - ErrMsg: vv.ErrMsg, + SkuID: vv.StoreSkuInfo.SkuID, + StoreID: vv.StoreID, + CategoryName: "", + VendorID: vv.VendoreID, + VendorSkuID: vv.StoreSkuInfo.VendorSkuID, + NameID: vv.StoreSkuInfo.NameID, + VendorPrice: vv.StoreSkuInfo.VendorPrice, + SyncType: vv.SyncType, + ErrMsg: vv.ErrMsg, } resultL = append(resultL, result) } else { result := &SyncErrResult{ + SkuID: 0, StoreID: vv.StoreID, CategoryName: vv.CategoryName, VendorID: vv.VendoreID, + VendorSkuID: "", + NameID: 0, + VendorPrice: 0, SyncType: vv.SyncType, ErrMsg: vv.ErrMsg, }