Compare commits
1 Commits
main
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d6950fb11 |
2
pom.xml
2
pom.xml
@@ -183,7 +183,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sun.xml.bind</groupId>
|
<groupId>com.sun.xml.bind</groupId>
|
||||||
<artifactId>jaxb-impl</artifactId>
|
<artifactId>jaxb-impl</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>4.0.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sun.xml.bind</groupId>
|
<groupId>com.sun.xml.bind</groupId>
|
||||||
|
|||||||
@@ -37,17 +37,6 @@ public class CategoryController {
|
|||||||
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));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新一个分类
|
* 更新一个分类
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user