feature: swagger接口请求优化

This commit is contained in:
Eric54920
2024-08-24 22:34:09 +08:00
parent 7f70e69c8e
commit ed5463360e
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func (a *AutoCodePluginApi) Install(c *gin.Context) {
// @Produce application/json
// @Param plugName query string true "插件名称"
// @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "打包插件成功"
// @Router /autoCode/pubPlug [get]
// @Router /autoCode/pubPlug [post]
func (a *AutoCodePluginApi) Packaged(c *gin.Context) {
plugName := c.Query("plugName")
zipPath, err := autoCodePluginService.PubPlug(plugName)