添加ukey用户登录接口白名单

develop
bayuzhen 2024-08-26 14:58:40 +08:00
parent d26b58fd10
commit 0dce3033de
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class WhiteApiCache implements InitializingBean {
taskExecutor.execute(() -> {
//设置白名单
List<String> whiteList = Lists.newArrayList("^GET:/v1/users/permissions$",
"^GET:/v1/login/detail$", "^GET:/v1/messages$", "^GET:/v1/token$","^POST:/v1/token/check$",
"^GET:/v1/login/detail$", "^GET:/v1/trx/randomstr$", "^POST:/v1/trx/login$", "^POST:/v1/trx/logout$", "^GET:/v1/messages$", "^GET:/v1/token$","^POST:/v1/token/check$",
"^POST:/v1/users/logout$", "^POST:/v1/tenants/logout$", "^GET:/v1/config/license$", "^GET:/v1/roles/ids$");
redisTemplate.opsForValue().set("permission_white", JSONObject.toJSONString(whiteList));
});