incloud开发文档 5.1.0 Help

获取当前登录人

业务方法中获取 AppUserUtil.方法名称();

此类为静态类,可以直接在任意业务类中直接使用

API

/** * 获取登录用户 * @return */ public static LoginAppUser getLoginAppUser() { ...... } public static LoginAppUser getLoginAppUserAndCheck() { ...... } /** * 获取登录用户的token * @return */ public static String getAccessTokenNoBearer() { ...... } /** * 获取登录用户的token * @return */ public static String getAccessToken() { ...... }
Last modified: 20 一月 2025