server/src/main/java/doumeemes/config/mybatis/MyBatisInterceptor.java
@@ -27,7 +27,6 @@ @Signature(type= Executor.class, method = "update", args={MappedStatement.class, Object.class}) }) public class MyBatisInterceptor implements Interceptor { private static final String CREATE_TIME = "createTime"; private static final String CREATE_USER = "createUser"; @@ -118,6 +117,10 @@ * @date 2022/04/18 18:12 */ private LoginUserInfo getLoginUser () { try { return (LoginUserInfo) SecurityUtils.getSubject().getPrincipal(); }catch (Exception e){ return null; } } }