From ecc6048c4257f4d8ad120ebf2fdb21356dcca977 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 24 十一月 2023 10:25:46 +0800 Subject: [PATCH] 根据编码查询供应商 --- router/test/supplier.go | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/router/test/supplier.go b/router/test/supplier.go index c76cf9c..5ab0466 100644 --- a/router/test/supplier.go +++ b/router/test/supplier.go @@ -21,7 +21,8 @@ sRouter.POST("changeSupplierStatus", sApi.ChangeSupplierStatus) // 鏇存柊Supplier鐘舵�� } { - sRouterWithoutRecord.GET("findSupplier", sApi.FindSupplier) // 鏍规嵁ID鑾峰彇Supplier - sRouterWithoutRecord.GET("getSupplierList", sApi.GetSupplierList) // 鑾峰彇Supplier鍒楄〃 + sRouterWithoutRecord.GET("findSupplier", sApi.FindSupplier) // 鏍规嵁ID鑾峰彇Supplier + sRouterWithoutRecord.GET("getSupplierByNumber/:number", sApi.GetSupplierByNumber) // 鐢ㄧ紪鐮佹煡璇upplier + sRouterWithoutRecord.GET("getSupplierList", sApi.GetSupplierList) // 鑾峰彇Supplier鍒楄〃 } } -- Gitblit v1.8.0