style: 错误信息英文返回-monitor 模块路由

This commit is contained in:
TsMask
2023-11-08 14:57:08 +08:00
parent a102f772cb
commit d456b735fb
7 changed files with 93 additions and 80 deletions

View File

@@ -40,7 +40,7 @@ func (s *MonitorController) Load(c *gin.Context) {
}
err := c.ShouldBindQuery(&querys)
if err != nil {
c.JSON(400, result.CodeMsg(400, "参数错误"))
c.JSON(400, result.CodeMsg(400, "parameter error"))
return
}