File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ func ({{.Abbreviation}}Api *{{.StructName}}Api) Update{{.StructName}}(c *gin.Con
122
122
// @accept application/json
123
123
// @Produce application/json
124
124
// @Param data query { {.Package} }.{ {.StructName} } true "用id查询{ {.Description} }"
125
- // @Success 200 { object} response.Response{ data= object{re{{.Abbreviation } }= { {.Package} }.{ {.StructName} }},msg=string} "查询成功"
125
+ // @Success 200 { object} response.Response{ data= {{.Package} }.{ {.StructName} }},msg=string} "查询成功"
126
126
// @Router /{ {.Abbreviation} }/find{ {.StructName} } [get]
127
127
func ({ {.Abbreviation} }Api *{ {.StructName} }Api) Find{ {.StructName} }(c *gin.Context) {
128
128
{{.PrimaryField.FieldJson} } := c.Query("{ {.PrimaryField.FieldJson} }")
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ func (a *{{.Abbreviation}}) Update{{.StructName}}(c *gin.Context) {
124
124
// @accept application/json
125
125
// @Produce application/json
126
126
// @Param data query model.{{.StructName}} true "用id查询{{.Description}}"
127
- // @Success 200 {object} response.Response{data=object{ model.{{.StructName} }},msg=string} "查询成功"
127
+ // @Success 200 {object} response.Response{data=model.{{.StructName}},msg=string} "查询成功"
128
128
// @Router /{{.Abbreviation}}/find{{.StructName}} [get]
129
129
func (a *{{.Abbreviation}}) Find{{.StructName}}(c *gin.Context) {
130
130
{{.PrimaryField.FieldJson}} := c.Query("{{.PrimaryField.FieldJson}}")
You can’t perform that action at this time.
0 commit comments