提交 6a6a65f5 authored 作者: Matrix's avatar Matrix

feat(书签功能): 优化了保存用户配置项的代码

上级 d71f7867
......@@ -166,12 +166,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.matrix</groupId>
<artifactId>kt-user</artifactId>
</dependency>
</dependencies>
......
......@@ -19,6 +19,11 @@
<artifactId>kt-base</artifactId>
</dependency>
<dependency>
<groupId>org.matrix</groupId>
<artifactId>kt-user</artifactId>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
......
......@@ -48,4 +48,6 @@ public class UserConfigController {
boolean isSuccess = userService.upsertConfig(config, ConfigType.BOOK_MARK);
return isSuccess ? success("书签更新成功") : failed("更新失败");
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论