1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user