Merge branch 'jdshop' of e.coding.net:rosydev/jx-callback into jdshop

This commit is contained in:
邹宗楠
2023-06-28 14:41:14 +08:00

View File

@@ -6341,7 +6341,7 @@ func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo) (error,
db *dao.DaoDB
errList errlist.ErrList
errIDName = make([]string, 0)
storeMaps = make([]model.StoreMap, 0)
storeMaps = make([]*model.StoreMap, 0)
)
if len(bind) == 0 {
return fmt.Errorf("绑定门店数据为空,请检查"), ""
@@ -6358,7 +6358,7 @@ func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo) (error,
return fmt.Errorf("淘鲜达门店ID不合法"), ""
}
}
storeMap := model.StoreMap{
storeMap := &model.StoreMap{
StoreID: utils.Str2Int(storeID),
VendorID: model.VendorIDTaoVegetable,
VendorOrgCode: "",