增加后台管理模块
This commit is contained in:
@@ -8,7 +8,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
/**
|
||||
* 用户服务启动类
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-12
|
||||
*/
|
||||
@SpringBootApplication(scanBasePackages = {"com.emotionmuseum"})
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import org.springframework.security.crypto.password.PasswordEncoder;
|
||||
* 认证配置类
|
||||
* 独立的认证配置,避免循环依赖
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-15
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
/**
|
||||
* 验证码配置
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-15
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -9,7 +9,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
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.util.Collections;
|
||||
/**
|
||||
* Spring Security配置类
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-15
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import jakarta.validation.Valid;
|
||||
/**
|
||||
* 用户控制器
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-12
|
||||
*/
|
||||
@Slf4j
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.time.LocalDate;
|
||||
/**
|
||||
* 用户信息更新请求
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-12
|
||||
*/
|
||||
@Data
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* 用户实体
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-12
|
||||
*/
|
||||
@Data
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Param;
|
||||
/**
|
||||
* 用户Mapper
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-12
|
||||
*/
|
||||
@Mapper
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import java.time.LocalDate;
|
||||
/**
|
||||
* 用户信息更新请求
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-24
|
||||
*/
|
||||
@Data
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* 用户信息响应
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-24
|
||||
*/
|
||||
@Data
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import java.util.concurrent.TimeUnit;
|
||||
/**
|
||||
* JWT认证过滤器
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-15
|
||||
*/
|
||||
@Slf4j
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import java.util.Collections;
|
||||
/**
|
||||
* Spring Security用户详情服务实现
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-15
|
||||
*/
|
||||
@Slf4j
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.emotionmuseum.user.response.UserInfoResponse;
|
||||
/**
|
||||
* 用户服务接口
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-12
|
||||
*/
|
||||
public interface UserService extends IService<User> {
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import org.springframework.transaction.annotation.Transactional;
|
||||
/**
|
||||
* 用户服务实现类
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-12
|
||||
*/
|
||||
@Slf4j
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* 用户信息响应
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @since 2025-07-12
|
||||
*/
|
||||
@Data
|
||||
|
||||
Reference in New Issue
Block a user