补充模板相关修改

This commit is contained in:
huiyifyj 2024-12-26 21:52:12 +08:00
parent 8f925d85e7
commit a6f5e9e974
No known key found for this signature in database
GPG Key ID: 67D4F264AF9D2C4C
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func (a *{{.Abbreviation}}) Update{{.StructName}}(c *gin.Context) {
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query model.{{.StructName}} true "用id查询{{.Description}}"
// @Param {{.PrimaryField.FieldJson}} query {{.PrimaryField.FieldType}} true "用id查询{{.Description}}"
// @Success 200 {object} response.Response{data=model.{{.StructName}},msg=string} "查询成功"
// @Router /{{.Abbreviation}}/find{{.StructName}} [get]
func (a *{{.Abbreviation}}) Find{{.StructName}}(c *gin.Context) {