jiangshuai
2023-11-22 ed81fc8d860adb66676d4990e4ce0ff56cff79a6
main.go
@@ -17,6 +17,7 @@
   "wms/proto/product_inventory"
   "wms/proto/purchase_wms"
   "wms/router"
   "wms/service"
)
func main() {
@@ -66,6 +67,10 @@
         panic(fmt.Sprintf("grpc server init error: %v", err.Error()))
      }
   }()
   go service.InitLocationReportData()
   go service.InitHistoryReportData()
   logx.Error(server.ListenAndServe().Error())
}