|
@@ -19,13 +19,11 @@ public class ArticleCategoryController {
|
|
|
private ArticleCategoryService service;
|
|
|
|
|
|
@PostMapping("/list")
|
|
|
- @CrossOrigin
|
|
|
public CommonResponse<Page<ArticleCategoryListVO>> articleCategoryList(@RequestBody ArticleCategoryListParam param) {
|
|
|
return CommonResponse.success(service.articleCategoryList(param));
|
|
|
}
|
|
|
|
|
|
@PostMapping("/updateCategory")
|
|
|
- @CrossOrigin
|
|
|
public CommonResponse<Void> articleCategoryUpdate(@RequestBody ArticleCategoryUpdateParam param) {
|
|
|
service.articleCategoryUpdate(param);
|
|
|
return CommonResponse.success();
|