feat: 登录授权接口

This commit is contained in:
2025-11-28 20:29:47 +08:00
parent 3546829ce0
commit fc52e7074a
52 changed files with 1925 additions and 52 deletions

View File

@ -35,6 +35,9 @@
<artifactId>lombok</artifactId>
</path>
</annotationProcessorPaths>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>

View File

@ -7,6 +7,11 @@ public class BusinessException extends RuntimeException {
private final int code;
public BusinessException(String message) {
super(message);
this.code = 500;
}
public BusinessException(int code, String message) {
super(message);
this.code = code;