From 3f5aa5f14c56e55a05902c7e3b9b112eb23ee80d Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 03 一月 2024 17:27:04 +0800 Subject: [PATCH] 采购类型修改 --- main.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/main.go b/main.go index fe6d232..2b4c8d8 100644 --- a/main.go +++ b/main.go @@ -8,6 +8,7 @@ "srm/api/v1/test" "srm/proto/purchase_wms" "srm/proto/qualityinspect" + "srm/proto/supplier" "srm/core" "srm/global" @@ -48,6 +49,7 @@ s := grpc.NewServer() //todo 娣诲姞鍏蜂綋鏈嶅姟 purchase_wms.RegisterPurchaseServiceServer(s, &purchase_wms.Server{}) + supplier.RegisterSupplierServiceServer(s, &supplier.Server{}) err = s.Serve(ln) if err != nil { global.GVA_LOG.Error("grpc server init error: %v", zap.Error(err)) -- Gitblit v1.8.0