|
@@ -41,7 +41,7 @@ func Configure(b *bootstrap.Bootstrapper) {
|
|
|
|
|
|
// 合同管理
|
|
|
apiContract := mvc.New(b.Party("/api/contract"))
|
|
|
- // apiContract.Router.Use(middleware.JwtAuth().Serve)
|
|
|
+ apiContract.Router.Use(middleware.SessionsAuth)
|
|
|
apiContract.Register(ContractService)
|
|
|
// 中间件
|
|
|
apiContract.Handle(new(api.ContractApi))
|