1.0.11 • Published 2 years ago
portal-permission v1.0.11
权限中间件 配置获取中间件-honeycomb脚手架中使用
使用为在 $WORKDIR/config/config_xxx.js 中添加配置
...
middlewares:{
iwhaleUserPms: {
enable: true, // 是否启用该中间件
module: '@iwhale/permission',//中间件包
config: { // 需传入配置
pmsUrl: 'http://172.16.81.220:29522/newPortal',
sysCode: 'igs',
ignore: [
'/assets'
]
},
deps: 'iwhaleUserAuth'
}
}
...
1.0.11
2 years ago