Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
49a1a53ecb build(deps): bump spring-boot-starter-parent from 2.1.3.RELEASE to 3.0.3
Bumps [spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 2.1.3.RELEASE to 3.0.3.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.1.3.RELEASE...v3.0.3)

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

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

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.3.RELEASE</version> <version>3.0.3</version>
<relativePath/> <relativePath/>
</parent> </parent>
<groupId>cn.celess</groupId> <groupId>cn.celess</groupId>

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));
}
/** /**
* 更新一个分类 * 更新一个分类