Compare commits
1 Commits
main
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49a1a53ecb |
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.1.3.RELEASE</version>
|
||||
<version>3.0.3</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
<groupId>cn.celess</groupId>
|
||||
|
||||
@@ -37,17 +37,6 @@ public class CategoryController {
|
||||
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));
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新一个分类
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user