SetStoresMapSyncStatus

This commit is contained in:
gazebo
2020-02-04 10:46:16 +08:00
parent ddf419a8ab
commit 9aba03a6dc
3 changed files with 26 additions and 1 deletions

View File

@@ -1167,7 +1167,7 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
}
}
// 暂时不开放isSync
if payload["isSync"] != nil {
if isSync, ok := payload["isSync"].(int); ok && isSync == 0 {
delete(payload, "isSync")
}
if db == nil {