优化移动端ui

This commit is contained in:
yml
2026-05-25 13:07:46 +08:00
parent 0764e4b249
commit 1a3886f8d1
4 changed files with 298 additions and 13 deletions
@@ -375,6 +375,7 @@ func parseID(c *gin.Context) (uint64, bool) {
}
func writeOrderError(c *gin.Context, err error) {
println("DEBUG ORDER ERROR:", err.Error())
switch {
case errors.Is(err, ErrDependencyUnavailable):
response.ServiceUnavailable(c, "数据库未连接")