UpdateStore中对于autoEnableAt的处理

This commit is contained in:
gazebo
2020-01-20 21:39:09 +08:00
parent af658360dd
commit b4a4685ba7

View File

@@ -805,6 +805,7 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
status = model.StoreStatusHaveRest
} else {
status = model.StoreStatusClosed
valid["autoEnableAt"] = nil
}
valid["status"] = status
}