Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
f64a4d8aec build(deps): bump mybatis-spring-boot-starter from 2.2.0 to 3.0.1
Bumps [mybatis-spring-boot-starter](https://github.com/mybatis/spring-boot-starter) from 2.2.0 to 3.0.1.
- [Release notes](https://github.com/mybatis/spring-boot-starter/releases)
- [Commits](https://github.com/mybatis/spring-boot-starter/compare/mybatis-spring-boot-2.2.0...mybatis-spring-boot-3.0.1)

---
updated-dependencies:
- dependency-name: org.mybatis.spring.boot:mybatis-spring-boot-starter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 09:00:49 +00:00
2 changed files with 1 additions and 12 deletions

View File

@@ -99,7 +99,7 @@
<dependency> <dependency>
<groupId>org.mybatis.spring.boot</groupId> <groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId> <artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.2.0</version> <version>3.0.1</version>
</dependency> </dependency>
<!-- pageHelper --> <!-- pageHelper -->

View File

@@ -36,17 +36,6 @@ public class CategoryController {
public Response deleteOne(@RequestParam("id") long id) { public Response deleteOne(@RequestParam("id") long id) {
return Response.success(categoryService.delete(id)); return Response.success(categoryService.delete(id));
} }
/**
* 删除一个分类
*
* @param id 分类id
* @return Response
*/
@DeleteMapping("/admin/category/del/{id}")
public Response deleteOne(@PathVariable("id") long id) {
return Response.success(categoryService.delete(id));
}
/** /**
* 更新一个分类 * 更新一个分类