From fde11b2df8daa78889d765183695315fa361bd7b Mon Sep 17 00:00:00 2001 From: vincent <1341870251@qq.com> Date: 星期三, 24 六月 2020 21:52:40 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/web/AuthController.java | 2 +- src/main/resources/application.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/common/web/AuthController.java b/src/main/java/com/zy/common/web/AuthController.java index 835ba54..1ce49d5 100644 --- a/src/main/java/com/zy/common/web/AuthController.java +++ b/src/main/java/com/zy/common/web/AuthController.java @@ -146,7 +146,7 @@ // 鏄惁鎷ユ湁鏌ョ湅鏉冮檺 if (getUserId() != 9527) { - Resource view = resourceService.selectOne(new EntityWrapper<Resource>().eq("resource_id", resource.getId()).like("code", "view")); + Resource view = resourceService.selectOne(new EntityWrapper<Resource>().eq("resource_id", resource.getId()).like("code", "#view")); if (!Cools.isEmpty(view)){ RoleResource param = new RoleResource(); param.setResourceId(view.getId()); diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index a3210c4..006891b 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -15,7 +15,7 @@ driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver url: jdbc:sqlserver://127.0.0.1:1433;databasename=dlasrs username: sa - password: sa@123 + password: Qwe!@#123 mvc: static-path-pattern: /** redis: -- Gitblit v1.9.1