feat: 权限控制

This commit is contained in:
xiaojunnuo
2023-06-27 09:29:43 +08:00
parent fdc25dc0d7
commit 27a4c81c6d
37 changed files with 325 additions and 134 deletions
@@ -71,7 +71,7 @@ const development = {
secret: 'certd666',
expire: 7 * 24 * 60, //单位秒
},
auth: {
authOnly: {
ignoreUrls: ['/', '/public', '/api/login', '/api/register'],
},
},