This commit is contained in:
richboo111
2023-10-23 11:00:45 +08:00
parent dd4c3b1d72
commit 16c56a1b6e
2 changed files with 11 additions and 4 deletions

View File

@@ -6428,9 +6428,8 @@ var TaoStoreStatus = map[string]int{
}
// SingleBindTaoVegetable 单独绑定淘鲜达平台三方映射
func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo, vendorOrgCode string) (error, string) {
func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo, vendorOrgCode string, storeID int) (error, string) {
var (
storeID = ""
db *dao.DaoDB
errList errlist.ErrList
errIDName = make([]string, 0)
@@ -6452,7 +6451,7 @@ func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo, vendorOr
// }
//}
storeMap := &model.StoreMap{
StoreID: utils.Str2Int(storeID),
StoreID: storeID,
VendorID: model.VendorIDTaoVegetable,
VendorOrgCode: vendorOrgCode,
Status: TaoStoreStatus[v.Status],