账套信息,代码优化!

This commit is contained in:
易焱
2019-08-07 00:25:36 +08:00
parent 1ac25ab2bd
commit 38a308bca9
26 changed files with 689 additions and 15 deletions
@@ -61,6 +61,9 @@ public class ShiroUtil {
*/
public static User getSubject(){
Long userId = (Long) SecurityUtils.getSubject().getPrincipal();
if (userId == null) {
return null;
}
return userService.getById(userId);
}