diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 8be4eedba..8b3c58128 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -698,6 +698,10 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa if payload["autoEnableAt"] != nil { payload["autoEnableAt"] = utils.Time2Date(utils.Str2Time(utils.Interface2String(payload["autoEnableAt"]))) } + // 暂时不开放isSync + if payload["isSync"] != nil { + delete(payload, "isSync") + } valid := dao.StrictMakeMapByStructObject2(payload, store, &outStore, userName) if err = checkStoreDeliveryRange(utils.Interface2String(valid["deliveryRange"])); err != nil { return 0, err @@ -1073,6 +1077,7 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend storeMap.Status = model.StoreStatusOpened storeMap.DeliveryType = model.StoreDeliveryTypeByStore storeMap.SyncStatus = 0 + storeMap.IsSync = 1 // 暂时禁用isSync if vendorID != model.VendorIDJX { if storeMap.VendorOrgCode == "" { return nil, fmt.Errorf("必须指定平台分账号信息")