feat: 添加客服账号管理及WebSocket功能
This commit is contained in:
4
main.go
4
main.go
@@ -11,6 +11,7 @@ import (
|
||||
"gitea.com/red-future/common/http"
|
||||
"gitea.com/red-future/common/jaeger"
|
||||
"gitea.com/red-future/common/rabbitmq"
|
||||
_ "github.com/gogf/gf/contrib/drivers/pgsql/v2"
|
||||
_ "github.com/gogf/gf/contrib/nosql/redis/v2"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/glog"
|
||||
@@ -30,6 +31,9 @@ func main() {
|
||||
|
||||
// 路由注册(common/http init() 已异步启动服务器,这里注册路由不影响)
|
||||
http.RouteRegister([]interface{}{
|
||||
controller.Account,
|
||||
controller.ScriptedSpeech,
|
||||
controller.AccountWebsocket,
|
||||
controller.Health,
|
||||
controller.Archive,
|
||||
controller.CustomerServiceAccount,
|
||||
|
||||
Reference in New Issue
Block a user