feat(web): 新增 Web 模块,从核心模块拆分 Web 相关自动配置

This commit is contained in:
2024-01-19 22:40:40 +08:00
parent fed46dc16e
commit 9cf76fe61f
37 changed files with 151 additions and 177 deletions

View File

@@ -25,9 +25,10 @@
<artifactId>sa-token-jwt</artifactId>
</dependency>
<!-- Web 模块 -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-jwt</artifactId>
<groupId>top.charles7c.continew</groupId>
<artifactId>continew-starter-web</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -33,7 +33,7 @@ import org.springframework.context.annotation.*;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import top.charles7c.continew.starter.core.constant.StringConstants;
import top.charles7c.continew.starter.core.handler.GeneralPropertySourceFactory;
import top.charles7c.continew.starter.core.util.GeneralPropertySourceFactory;
/**
* Sa-Token 自动配置

View File

@@ -24,7 +24,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import top.charles7c.continew.starter.core.model.R;
import top.charles7c.continew.starter.web.model.R;
/**
* 全局 SaToken 异常处理器