mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-10-27 02:24:51 +08:00
i18n: logs in bootstrapper and response code in middleware
This commit is contained in:
@ -17,7 +17,7 @@ func HashID(IDType int) gin.HandlerFunc {
|
||||
c.Next()
|
||||
return
|
||||
}
|
||||
c.JSON(200, serializer.ParamErr("无法解析对象ID", nil))
|
||||
c.JSON(200, serializer.ParamErr("Failed to parse object ID", nil))
|
||||
c.Abort()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user