增加后台管理模块

This commit is contained in:
2025-10-27 23:57:31 +08:00
parent 3c1ba8e801
commit 0016453f20
420 changed files with 5650 additions and 1449 deletions
@@ -8,7 +8,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* 认证服务启动类
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-16
*/
@SpringBootApplication(scanBasePackages = {"com.emotionmuseum"})
@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration;
/**
* 验证码配置
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Configuration
@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration;
/**
* 第三方登录配置
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Configuration
@@ -10,7 +10,7 @@ import org.springframework.data.redis.serializer.StringRedisSerializer;
/**
* Redis配置类
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Configuration
@@ -28,7 +28,7 @@ import java.util.Collections;
/**
* Spring Security配置类
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Configuration
@@ -21,7 +21,7 @@ import jakarta.validation.Valid;
/**
* 认证控制器
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-16
*/
@Slf4j
@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.*;
/**
* 验证码控制器
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Slf4j
@@ -16,7 +16,7 @@ import jakarta.validation.Valid;
/**
* 第三方登录控制器
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Slf4j
@@ -8,7 +8,7 @@ import lombok.NoArgsConstructor;
/**
* 验证码响应
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Data
@@ -8,7 +8,7 @@ import jakarta.validation.constraints.NotBlank;
/**
* 用户登录请求
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-12
*/
@Data
@@ -8,7 +8,7 @@ import jakarta.validation.constraints.NotBlank;
/**
* 第三方登录请求
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Data
@@ -9,7 +9,7 @@ import java.time.LocalDate;
/**
* 用户注册请求
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-12
*/
@Data
@@ -8,7 +8,7 @@ import lombok.NoArgsConstructor;
/**
* 滑块验证码响应
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Data
@@ -9,7 +9,7 @@ import jakarta.validation.constraints.NotNull;
/**
* 滑块验证码验证请求
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Data
@@ -15,7 +15,7 @@ import java.time.LocalDateTime;
/**
* 用户实体
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-16
*/
@Data
@@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Param;
/**
* 用户Mapper接口
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-16
*/
@Mapper
@@ -10,7 +10,7 @@ import jakarta.validation.constraints.NotBlank;
/**
* 用户登录请求
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-24
*/
@Data
@@ -10,7 +10,7 @@ import jakarta.validation.constraints.NotBlank;
/**
* 第三方登录请求
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-24
*/
@Data
@@ -11,7 +11,7 @@ import java.time.LocalDate;
/**
* 用户注册请求
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-24
*/
@Data
@@ -13,7 +13,7 @@ import lombok.EqualsAndHashCode;
*
* <p>用于未登录情况下通过手机号与验证码(本期固定为 123456)设置新密码。</p>
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-10-26
*/
@Data
@@ -11,7 +11,7 @@ import jakarta.validation.constraints.NotNull;
/**
* 滑块验证码验证请求
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-24
*/
@Data
@@ -10,7 +10,7 @@ import lombok.NoArgsConstructor;
/**
* 验证码响应
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-24
*/
@Data
@@ -11,7 +11,7 @@ import java.time.LocalDateTime;
/**
* 登录响应
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-24
*/
@Data
@@ -8,7 +8,7 @@ import lombok.Data;
*
* <p>不返回敏感信息,仅提供结果标识与提示。</p>
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-10-26
*/
@Data
@@ -10,7 +10,7 @@ import lombok.NoArgsConstructor;
/**
* 滑块验证码响应
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-24
*/
@Data
@@ -13,7 +13,7 @@ import java.time.LocalDateTime;
/**
* 用户信息响应
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-24
*/
@Data
@@ -23,7 +23,7 @@ import java.util.concurrent.TimeUnit;
/**
* JWT认证过滤器
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Slf4j
@@ -17,7 +17,7 @@ import java.util.Collections;
/**
* Spring Security用户详情服务实现
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Slf4j
@@ -14,7 +14,7 @@ import com.emotionmuseum.auth.response.UserInfoResponse;
* 注意:所有新增接口需遵循项目接口规范与异常处理规范。
* </p>
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-16
*/
public interface AuthService {
@@ -5,7 +5,7 @@ import com.emotionmuseum.auth.response.CaptchaResponse;
/**
* 验证码服务接口
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
public interface CaptchaService {
@@ -6,7 +6,7 @@ import com.emotionmuseum.auth.vo.LoginResponse;
/**
* 第三方登录服务接口
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
public interface OAuthService {
@@ -6,7 +6,7 @@ import com.emotionmuseum.auth.request.SliderCaptchaVerifyRequest;
/**
* 滑块验证码服务接口
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
public interface SliderCaptchaService {
@@ -31,7 +31,7 @@ import java.util.concurrent.TimeUnit;
/**
* 认证服务实现
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-16
*/
@Slf4j
@@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit;
/**
* 验证码服务实现
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Slf4j
@@ -10,7 +10,7 @@ import org.springframework.stereotype.Service;
/**
* 第三方登录服务实现类
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Slf4j
@@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit;
/**
* 滑块验证码服务实现
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-15
*/
@Slf4j
@@ -9,7 +9,7 @@ import java.time.LocalDateTime;
/**
* 登录响应
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-12
*/
@Data
@@ -11,7 +11,7 @@ import java.time.LocalDateTime;
/**
* 用户信息响应
*
* @author emotion-museum
* @author huazhongmin
* @since 2025-07-16
*/
@Data