feat✨ 模版格式化

This commit is contained in:
wenjianzhang committed 2021-05-07 19:02:06 +08:00
1 parent c6ccd844f5
commit 946a53cb2b
1 file changed
+2 -2
+2 -2
View File
@@ -118,7 +118,7 @@ func (e {{.ClassName}}) Get{{.ClassName}}(c *gin.Context) {
// @Summary 创建{{.TableComment}}
// @Description 创建{{.TableComment}}
// @Tags {{.TableComment}}
// @Accept application/json
// @Accept application/json
// @Product application/json
// @Param data body dto.{{.ClassName}}Control true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
@@ -168,7 +168,7 @@ func (e {{.ClassName}}) Insert{{.ClassName}}(c *gin.Context) {
// @Summary 修改{{.TableComment}}
// @Description 修改{{.TableComment}}
// @Tags {{.TableComment}}
// @Accept application/json
// @Accept application/json
// @Product application/json
// @Param data body dto.{{.ClassName}}Control true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"