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

This commit is contained in:
邹宗楠
2023-09-07 16:52:36 +08:00
2 changed files with 4 additions and 3 deletions

View File

@@ -6395,7 +6395,7 @@ var TaoStoreStatus = map[string]int{
}
// SingleBindTaoVegetable 单独绑定淘鲜达平台三方映射
func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo) (error, string) {
func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo, vendorOrgCode string) (error, string) {
var (
storeID = ""
db *dao.DaoDB
@@ -6420,7 +6420,7 @@ func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo) (error,
storeMap := &model.StoreMap{
StoreID: utils.Str2Int(storeID),
VendorID: model.VendorIDTaoVegetable,
VendorOrgCode: "",
VendorOrgCode: vendorOrgCode,
Status: TaoStoreStatus[v.Status],
DeliveryType: model.StoreDeliveryTypeByStore,
SyncStatus: 0,