This commit is contained in:
richboo111
2023-04-25 15:43:40 +08:00
parent 6bd3f2b42f
commit 188017c2be
4 changed files with 55 additions and 30 deletions

View File

@@ -97,7 +97,7 @@ func Init() {
auto_delivery.Init() // 初始化骑手列表
go im.Init() //初始化ws连接
//go http.HandleFunc("/v2/im/StartWebSocket", im.StartWebSocket)
go http.HandleFunc("/v2/im/StartWebSocket", im.Run)
//test
//mux := http.NewServeMux()