style: 响应信息改英文

This commit is contained in:
TsMask
2023-10-12 11:55:00 +08:00
parent 936aa5906f
commit 8b3999d076
11 changed files with 127 additions and 127 deletions

View File

@@ -75,7 +75,7 @@ func (s *FirewallApi) Rule(w http.ResponseWriter, r *http.Request) {
var body model.RuleQuerys
err := ctx.ShouldBindJSON(r, &body)
if err != nil || body.Type == "" {
ctx.JSON(w, 400, result.CodeMsg(400, "参数错误"))
ctx.JSON(w, 400, result.CodeMsg(400, "parameter error"))
return
}
data, err := s.firewallService.RulePage(body)