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

@@ -112,7 +112,7 @@ func (s *SysUserOnlineController) List(c *gin.Context) {
func (s *SysUserOnlineController) ForceLogout(c *gin.Context) {
tokenId := c.Param("tokenId")
if tokenId == "" || tokenId == "*" {
c.JSON(400, result.CodeMsg(400, "参数错误"))
c.JSON(400, result.CodeMsg(400, "parameter error"))
return
}