Compare commits
1 Commits
main
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f64a4d8aec |
2
pom.xml
2
pom.xml
@@ -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 -->
|
||||||
|
|||||||
@@ -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