fix(park):修改更新指定园区可用性时的提示语。
This commit is contained in:
parent
ea1c1d7829
commit
2f17853dc0
|
@ -194,7 +194,7 @@ func modifyParkEnabling(c *fiber.Ctx) error {
|
||||||
parkLog.Error("无法更新园区可用性。", zap.String("park id", parkId), zap.String("user id", session.Uid), zap.Error(err))
|
parkLog.Error("无法更新园区可用性。", zap.String("park id", parkId), zap.String("user id", session.Uid), zap.Error(err))
|
||||||
return result.Error(http.StatusInternalServerError, err.Error())
|
return result.Error(http.StatusInternalServerError, err.Error())
|
||||||
}
|
}
|
||||||
return result.Updated("已获取到指定园区的详细信息")
|
return result.Updated("已更新指定园区的可用性。")
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除指定的园区
|
// 删除指定的园区
|
||||||
|
|
Loading…
Reference in New Issue
Block a user