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.go |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/api/v1/test/supplier.go b/api/v1/test/supplier.go
index 6884436..27943a5 100644
--- a/api/v1/test/supplier.go
+++ b/api/v1/test/supplier.go
@@ -25,7 +25,7 @@
 // @Produce application/json
 // @Param data body test.Supplier true "鍒涘缓Supplier"
 // @Success 200 {string} string "{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}"
-// @Router /api/s/createSupplier [post]
+// @Router /s/createSupplier [post]
 func (sApi *SupplierApi) CreateSupplier(c *gin.Context) {
 	var s test.Supplier
 	err := c.ShouldBindJSON(&s)
@@ -57,7 +57,7 @@
 // @Produce application/json
 // @Param data body test.Supplier true "鍒犻櫎Supplier"
 // @Success 200 {string} string "{"success":true,"data":{},"msg":"鍒犻櫎鎴愬姛"}"
-// @Router /api/s/deleteSupplier [delete]
+// @Router /s/deleteSupplier [delete]
 func (sApi *SupplierApi) DeleteSupplier(c *gin.Context) {
 	var s test.Supplier
 	err := c.ShouldBindJSON(&s)
@@ -81,7 +81,7 @@
 // @Produce application/json
 // @Param data body request.IdsReq true "鎵归噺鍒犻櫎Supplier"
 // @Success 200 {string} string "{"success":true,"data":{},"msg":"鎵归噺鍒犻櫎鎴愬姛"}"
-// @Router /api/s/deleteSupplierByIds [delete]
+// @Router /s/deleteSupplierByIds [delete]
 func (sApi *SupplierApi) DeleteSupplierByIds(c *gin.Context) {
 	var IDS request.IdsReq
 	err := c.ShouldBindJSON(&IDS)
@@ -105,7 +105,7 @@
 // @Produce application/json
 // @Param data body test.Supplier true "鏇存柊Supplier"
 // @Success 200 {string} string "{"success":true,"data":{},"msg":"鏇存柊鎴愬姛"}"
-// @Router /api/s/updateSupplier [put]
+// @Router /s/updateSupplier [put]
 func (sApi *SupplierApi) UpdateSupplier(c *gin.Context) {
 	var s test.Supplier
 	err := c.ShouldBindJSON(&s)
@@ -137,7 +137,7 @@
 // @Produce application/json
 // @Param data query test.Supplier true "鐢╥d鏌ヨSupplier"
 // @Success 200 {string} string "{"success":true,"data":{},"msg":"鏌ヨ鎴愬姛"}"
-// @Router /api/s/findSupplier [get]
+// @Router /s/findSupplier [get]
 func (sApi *SupplierApi) FindSupplier(c *gin.Context) {
 	var s test.Supplier
 	err := c.ShouldBindQuery(&s)
@@ -161,7 +161,7 @@
 // @Produce application/json
 // @Param data query testReq.SupplierSearch true "鍒嗛〉鑾峰彇Supplier鍒楄〃"
 // @Success 200 {string} string "{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}"
-// @Router /api/s/getSupplierList [get]
+// @Router /s/getSupplierList [get]
 func (sApi *SupplierApi) GetSupplierList(c *gin.Context) {
 	var pageInfo testReq.SupplierSearch
 	err := c.ShouldBindQuery(&pageInfo)
@@ -190,7 +190,7 @@
 // @Produce application/json
 // @Param data body testReq.SupplierStatus true "淇敼Supplier鐘舵��"
 // @Success 200 {string} string "{"success":true,"data":{},"msg":"淇敼鎴愬姛"}"
-// @Router /api/s/changeSupplierStatus [post]
+// @Router /s/changeSupplierStatus [post]
 func (sApi *SupplierApi) ChangeSupplierStatus(c *gin.Context) {
 	var params testReq.SupplierStatus
 	err := c.ShouldBindJSON(&params)

--
Gitblit v1.8.0