Skip to content

Commit 83e26c4

Browse files
author
piexlmax
committed
自动化插件模板调整
1 parent 6514053 commit 83e26c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/resource/plug_template/api/api.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type {{ .PlugName}}Api struct{}
1515
// @Summary 请手动填写接口功能
1616
// @Produce application/json
1717
// @Success 200 {string} string "{"success":true,"data":{},"msg":"发送成功"}"
18-
// @Router /{{ .RouterGroup}}/routerName[post]
18+
// @Router /{{ .RouterGroup}}/routerName [post]
1919
func (p *{{ .PlugName}}Api) ApiName(c *gin.Context) {
2020
{{- if .HasRequest}}
2121
var plug model.Request

0 commit comments

Comments
 (0)