From 50d0889137ea0dcce7d414607119a04dd730196f Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期五, 25 八月 2023 16:02:24 +0800 Subject: [PATCH] fix --- api/v1/test/industry.go | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/v1/test/industry.go b/api/v1/test/industry.go index 8e97898..6ff455e 100644 --- a/api/v1/test/industry.go +++ b/api/v1/test/industry.go @@ -24,7 +24,7 @@ // @Produce application/json // @Param data body test.Industry true "鍒涘缓Industry" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}" -// @Router /api/i/createIndustry [post] +// @Router /i/createIndustry [post] func (iApi *IndustryApi) CreateIndustry(c *gin.Context) { var i test.Industry err := c.ShouldBindJSON(&i) @@ -48,7 +48,7 @@ // @Produce application/json // @Param data body test.Industry true "鍒犻櫎Industry" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鍒犻櫎鎴愬姛"}" -// @Router /api/i/deleteIndustry [delete] +// @Router /i/deleteIndustry [delete] func (iApi *IndustryApi) DeleteIndustry(c *gin.Context) { var i test.Industry err := c.ShouldBindJSON(&i) @@ -72,7 +72,7 @@ // @Produce application/json // @Param data body request.IdsReq true "鎵归噺鍒犻櫎Industry" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鎵归噺鍒犻櫎鎴愬姛"}" -// @Router /api/i/deleteIndustryByIds [delete] +// @Router /i/deleteIndustryByIds [delete] func (iApi *IndustryApi) DeleteIndustryByIds(c *gin.Context) { var IDS request.IdsReq err := c.ShouldBindJSON(&IDS) @@ -96,7 +96,7 @@ // @Produce application/json // @Param data body test.Industry true "鏇存柊Industry" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鏇存柊鎴愬姛"}" -// @Router /api/i/updateIndustry [put] +// @Router /i/updateIndustry [put] func (iApi *IndustryApi) UpdateIndustry(c *gin.Context) { var i test.Industry err := c.ShouldBindJSON(&i) @@ -120,7 +120,7 @@ // @Produce application/json // @Param data query test.Industry true "鐢╥d鏌ヨIndustry" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鏌ヨ鎴愬姛"}" -// @Router /api/i/findIndustry [get] +// @Router /i/findIndustry [get] func (iApi *IndustryApi) FindIndustry(c *gin.Context) { var i test.Industry err := c.ShouldBindQuery(&i) @@ -144,7 +144,7 @@ // @Produce application/json // @Param data query testReq.IndustrySearch true "鍒嗛〉鑾峰彇Industry鍒楄〃" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}" -// @Router /api/i/getIndustryList [get] +// @Router /i/getIndustryList [get] func (iApi *IndustryApi) GetIndustryList(c *gin.Context) { var pageInfo testReq.IndustrySearch err := c.ShouldBindQuery(&pageInfo) -- Gitblit v1.8.0