- UpdateStore中调用updateCourierStores时的判断逻辑修改
This commit is contained in:
@@ -708,7 +708,7 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
|
|||||||
if valid["tel1"] != nil {
|
if valid["tel1"] != nil {
|
||||||
AddStoreBossByMoble(ctx, utils.Interface2String(valid["tel1"]), storeID)
|
AddStoreBossByMoble(ctx, utils.Interface2String(valid["tel1"]), storeID)
|
||||||
}
|
}
|
||||||
if syncStatus&model.SyncFlagStoreAddress != 0 && valid["tel1"] != nil || valid["payeeName"] != nil {
|
if syncStatus&model.SyncFlagStoreAddress != 0 || valid["tel1"] != nil || valid["payeeName"] != nil {
|
||||||
updateCourierStores(ctx, storeID)
|
updateCourierStores(ctx, storeID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user