This commit is contained in:
苏尹岚
2021-04-14 09:18:22 +08:00
parent 5efc05444f
commit 25ca1abdf7

View File

@@ -1369,6 +1369,9 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
if isSync, ok := payload["isSync"].(int); ok && isSync == 0 {
delete(payload, "isSync")
}
delete(payload, "bussinessStatus")
var vendorOrgCode = ""
if payload["vendorOrgCode"].(string) == "" {
return 0, fmt.Errorf("平台账号不能为空")