EAS_WEB的handler或者facade获取当前用户

通过下列方式获取当前用户

UserInfo creator = ContextUtil.getCurrentUserInfo(ctx);

 

其中在handler中可以通过下面代码来获取

Context ctx = WafContext.getInstance().getContext();

 

posted @ 2023-07-06 16:38  凉了记忆  阅读(49)  评论(0)    收藏  举报