|
@@ -78,6 +78,18 @@ func Configure(b *bootstrap.Bootstrapper) {
|
|
|
// bidsection.Router.Use(middleware.SessionsAuth)
|
|
|
// bidsection.Handle(new(controllers.BidsectionController))
|
|
|
|
|
|
+ // u := &websocket.Upgrader{
|
|
|
+ // CheckOrigin: func(r *http.Request) bool {
|
|
|
+ // return true
|
|
|
+ // },
|
|
|
+ // }
|
|
|
+ // ws := mvc.New(b.Party("/ws"))
|
|
|
+ // ws.Handle(lib.Handler(u))
|
|
|
+
|
|
|
+ // websocketServer := websocket.New(
|
|
|
+ // websocket.DefaultGorillaUpgrader, /* DefaultGobwasUpgrader can be used too. */
|
|
|
+ // serverEvents)
|
|
|
+ // b.Get("/swagger/{any:path}", )
|
|
|
// apiTree.Router.Use(middleware.JwtAuth().Serve)
|
|
|
// 接口相关
|
|
|
// 登陆接口
|