feat:实现动态响应处理

This commit is contained in:
wangyu 2022-01-18 16:17:09 +08:00
parent f313db715f
commit e996223c2f
4 changed files with 19 additions and 1 deletions

View File

@ -52,6 +52,18 @@ public class UserController extends ReactiveBaseController<User, UserQo> {
return reactiveService.updateSelectiveById(updating).thenReturn(Result.ok()); return reactiveService.updateSelectiveById(updating).thenReturn(Result.ok());
} }
/**
* 找回密码逻辑
* 需要正确输入用户名邮箱
*
* @return 结果
*/
@PostMapping("forget")
@Operation("密码找回")
public Mono<Result<Void>> forgetPassword() {
return Mono.empty();
}
/** /**
* 修改密码逻辑 * 修改密码逻辑
* *

View File

@ -33,6 +33,11 @@
<artifactId>spring-boot-starter-cache</artifactId> <artifactId>spring-boot-starter-cache</artifactId>
</dependency> </dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-mail</artifactId>-->
<!-- </dependency>-->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId> <artifactId>spring-boot-starter-data-redis</artifactId>

View File

@ -0,0 +1 @@
预留备份配置

View File

@ -52,7 +52,7 @@
<repositories> <repositories>
<repository> <repository>
<id>central</id> <id>central</id>
<url>http://nexus.flyfish.group/repository/maven-public/</url> <url>https://maven.aliyun.com/repository/public</url>
</repository> </repository>
</repositories> </repositories>
<distributionManagement> <distributionManagement>