modified 统一代码风格

This commit is contained in:
何秀钢
2021-06-01 16:20:46 +08:00
parent d3fee1bf3e
commit 3ffe0d89d8
34 changed files with 95 additions and 112 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ func Get{{.StructName}}List(c *gin.Context) {
var pageInfo request.{{.StructName}}Search
_ = c.ShouldBindQuery(&pageInfo)
if err, list, total := service.Get{{.StructName}}InfoList(pageInfo); err != nil {
global.GVA_LOG.Error("获取失败", zap.Any("err", err))
global.GVA_LOG.Error("获取失败!", zap.Any("err", err))
response.FailWithMessage("获取失败", c)
} else {
response.OkWithDetailed(response.PageResult{