Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
df90e16fd1 build(deps): bump json-smart from 2.4.7 to 2.4.9
Bumps [json-smart](https://github.com/netplex/json-smart-v2) from 2.4.7 to 2.4.9.
- [Release notes](https://github.com/netplex/json-smart-v2/releases)
- [Commits](https://github.com/netplex/json-smart-v2/commits/2.4.9)

---
updated-dependencies:
- dependency-name: net.minidev:json-smart
  dependency-type: direct:production
...

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

View File

@@ -72,7 +72,7 @@
<dependency> <dependency>
<groupId>net.minidev</groupId> <groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId> <artifactId>json-smart</artifactId>
<version>2.4.7</version> <version>2.4.9</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>

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