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/supplier_type.go | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/v1/test/supplier_type.go b/api/v1/test/supplier_type.go index 7d479b1..9cd5b4d 100644 --- a/api/v1/test/supplier_type.go +++ b/api/v1/test/supplier_type.go @@ -24,7 +24,7 @@ // @Produce application/json // @Param data body test.SupplierType true "鍒涘缓SupplierType" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}" -// @Router /api/st/createSupplierType [post] +// @Router /st/createSupplierType [post] func (stApi *SupplierTypeApi) CreateSupplierType(c *gin.Context) { var st test.SupplierType err := c.ShouldBindJSON(&st) @@ -48,7 +48,7 @@ // @Produce application/json // @Param data body test.SupplierType true "鍒犻櫎SupplierType" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鍒犻櫎鎴愬姛"}" -// @Router /api/st/deleteSupplierType [delete] +// @Router /st/deleteSupplierType [delete] func (stApi *SupplierTypeApi) DeleteSupplierType(c *gin.Context) { var st test.SupplierType err := c.ShouldBindJSON(&st) @@ -72,7 +72,7 @@ // @Produce application/json // @Param data body request.IdsReq true "鎵归噺鍒犻櫎SupplierType" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鎵归噺鍒犻櫎鎴愬姛"}" -// @Router /api/st/deleteSupplierTypeByIds [delete] +// @Router /st/deleteSupplierTypeByIds [delete] func (stApi *SupplierTypeApi) DeleteSupplierTypeByIds(c *gin.Context) { var IDS request.IdsReq err := c.ShouldBindJSON(&IDS) @@ -96,7 +96,7 @@ // @Produce application/json // @Param data body test.SupplierType true "鏇存柊SupplierType" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鏇存柊鎴愬姛"}" -// @Router /api/st/updateSupplierType [put] +// @Router /st/updateSupplierType [put] func (stApi *SupplierTypeApi) UpdateSupplierType(c *gin.Context) { var st test.SupplierType err := c.ShouldBindJSON(&st) @@ -120,7 +120,7 @@ // @Produce application/json // @Param data query test.SupplierType true "鐢╥d鏌ヨSupplierType" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鏌ヨ鎴愬姛"}" -// @Router /api/st/findSupplierType [get] +// @Router /st/findSupplierType [get] func (stApi *SupplierTypeApi) FindSupplierType(c *gin.Context) { var st test.SupplierType err := c.ShouldBindQuery(&st) @@ -144,7 +144,7 @@ // @Produce application/json // @Param data query testReq.SupplierTypeSearch true "鍒嗛〉鑾峰彇SupplierType鍒楄〃" // @Success 200 {string} string "{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}" -// @Router /api/st/getSupplierTypeList [get] +// @Router /st/getSupplierTypeList [get] func (stApi *SupplierTypeApi) GetSupplierTypeList(c *gin.Context) { var pageInfo testReq.SupplierTypeSearch err := c.ShouldBindQuery(&pageInfo) -- Gitblit v1.8.0