sql执行器开发,增加权限

This commit is contained in:
暮光:城中城
2019-08-22 22:21:49 +08:00
parent 48e4a73ea9
commit ec9674441f
25 changed files with 504 additions and 110 deletions

View File

@@ -15,8 +15,8 @@ public class DocUserUtil {
DocUserUtil.ACCESS_TOKEN.set(accessToken);
}
public static boolean havePageAuth(String authName, Long pageId) {
return haveAuth(authName + pageId);
public static boolean haveCustomAuth(String authName, String suffix) {
return haveAuth(authName + suffix);
}
public static boolean haveAuth(String... authNames) {