This commit is contained in:
邹宗楠
2024-02-27 10:58:13 +08:00
parent 0c8c6b9d3e
commit c067af71b6
5 changed files with 3 additions and 19 deletions

View File

@@ -1917,8 +1917,6 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
valid["address"] = address
}
globals.SugarLogger.Debugf("=valid============ : %s", utils.Format4Output(valid, false))
globals.SugarLogger.Debugf("=valid============ : %s", utils.Format4Output(isUpdateStoreNeedSync(valid), false))
if isUpdateStoreNeedSync(valid) { // 同步修改门店已经配送门店
_, err = CurVendorSync.SyncStore(ctx, db, vendorID, storeID, false, userName) // address原来的userName 因为storeMap无法保存address,所以美团暂时使用该参数代替
//updateCourierStores(ctx, storeID)