|
@@ -7,7 +7,7 @@ import cn.dev33.satoken.stp.StpLogic;
|
|
|
import com.vber.common.core.factory.YmlPropertySourceFactory;
|
|
import com.vber.common.core.factory.YmlPropertySourceFactory;
|
|
|
import com.vber.common.satoken.core.dao.PlusSaTokenDao;
|
|
import com.vber.common.satoken.core.dao.PlusSaTokenDao;
|
|
|
import com.vber.common.satoken.core.service.SaPermissionImpl;
|
|
import com.vber.common.satoken.core.service.SaPermissionImpl;
|
|
|
-import com.vber.common.satoken.handler.SaTokenExceptionHandler;
|
|
|
|
|
|
|
+import com.vber.common.satoken.handler.PlusSaTokenExceptionHandler;
|
|
|
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
|
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.PropertySource;
|
|
import org.springframework.context.annotation.PropertySource;
|
|
@@ -48,8 +48,8 @@ public class SaTokenConfig {
|
|
|
* 异常处理器
|
|
* 异常处理器
|
|
|
*/
|
|
*/
|
|
|
@Bean
|
|
@Bean
|
|
|
- public SaTokenExceptionHandler saTokenExceptionHandler() {
|
|
|
|
|
- return new SaTokenExceptionHandler();
|
|
|
|
|
|
|
+ public PlusSaTokenExceptionHandler saTokenExceptionHandler() {
|
|
|
|
|
+ return new PlusSaTokenExceptionHandler();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|