We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db4c7a8 commit 9d58390Copy full SHA for 9d58390
server/resource/autocode_template/server/api.go.tpl
@@ -192,7 +192,7 @@ func ({{.Abbreviation}}Api *{{.StructName}}Api) Get{{.StructName}}DataSource(c *
192
// @Produce application/json
193
// @Param data query {{.Package}}Req.{{.StructName}}Search true "分页获取{{.Description}}列表"
194
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
195
-// @Router /{{.Abbreviation}}/get{{.StructName}}List [get]
+// @Router /{{.Abbreviation}}/get{{.StructName}}Public [get]
196
func ({{.Abbreviation}}Api *{{.StructName}}Api) Get{{.StructName}}Public(c *gin.Context) {
197
// 此接口不需要鉴权
198
// 示例为返回了一个固定的消息接口,一般本接口用于C端服务,需要自己实现业务逻辑
0 commit comments