========后端
@Autowired private TokenService tokenService; LoginUser loginUser = tokenService.getLoginUser(); sysInquiry.setCreateBy(loginUser.getUsername()); sysInquiry.setCreateTime(DateUtils.getNowDate());
==========前端



获取使用
const nickName = this.$store.state.user.nickName




![[MySQL][深入理解隔离性][上][MVCC]详细讲解](https://i-blog.csdnimg.cn/direct/5b7e85adf41b4fa684639ccb64a405df.png)













