Spring AOP日志实现(三)--获取访问者用户名

通过Security获取访问者用户名:

也可以通过session来获取:

整体思路:

 

posted @ 2019-05-11 13:38  学亮编程手记  阅读(2422)  评论(1编辑  收藏  举报