feat: mcp测试版

This commit is contained in:
ageer
2025-04-14 00:22:21 +08:00
parent 4b53939002
commit 731352fd04
461 changed files with 3110 additions and 13838 deletions

View File

@@ -166,4 +166,16 @@ public class LoginHelper {
return isTenantAdmin(getLoginUser().getRolePermission());
}
/**
* 检查当前用户是否已登录
*
* @return 结果
*/
public static boolean isLogin() {
try {
return getLoginUser() != null;
} catch (Exception e) {
return false;
}
}
}