This commit is contained in:
邹宗楠
2023-08-29 14:27:09 +08:00
parent 6f4f524268
commit 2ca22c8100

View File

@@ -909,6 +909,7 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
payload["autoEnableAt"] = utils.Time2Date(utils.Str2Time(utils.Interface2String(payload["autoEnableAt"])))
}
valid := dao.StrictMakeMapByStructObject2(payload, store, &outStore, userName)
globals.SugarLogger.Debugf("==================1 valid := %s", utils.Format4Output(valid, false))
if err = checkStoreDeliveryRange(utils.Interface2String(valid["deliveryRange"])); err != nil {
return 0, err
}