liujiandao
2024-03-15 1ae2ab7b60ef374c77eebc08d63759a98f625066
main.go
@@ -6,6 +6,7 @@
   "google.golang.org/grpc"
   "net"
   "srm/api/v1/test"
   "srm/proto/crm_srm"
   "srm/proto/purchase_wms"
   "srm/proto/qualityinspect"
   "srm/proto/supplier"
@@ -50,6 +51,7 @@
      //todo 添加具体服务
      purchase_wms.RegisterPurchaseServiceServer(s, &purchase_wms.Server{})
      supplier.RegisterSupplierServiceServer(s, &supplier.Server{})
      crm_srm.RegisterCrmAndSrmServiceServer(s, &crm_srm.Server{})
      err = s.Serve(ln)
      if err != nil {
         global.GVA_LOG.Error("grpc server init error: %v", zap.Error(err))