mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-07-23 17:49:34 +08:00
接口修改
This commit is contained in:
parent
75f83415ad
commit
97061c7678
@ -128,7 +128,7 @@ public class DepartmentController {
|
||||
return JsonResponse.success();
|
||||
}
|
||||
|
||||
@PutMapping("/update/resort")
|
||||
@PutMapping("/update/sort")
|
||||
public JsonResponse resort(@RequestBody @Validated DepartmentSortRequest req) {
|
||||
departmentService.resetSort(req.getIds());
|
||||
return JsonResponse.success();
|
||||
|
@ -133,7 +133,7 @@ public class ResourceCategoryController {
|
||||
return JsonResponse.success();
|
||||
}
|
||||
|
||||
@PutMapping("/update/resort")
|
||||
@PutMapping("/update/sort")
|
||||
public JsonResponse resort(@RequestBody @Validated ResourceCategorySortRequest req) {
|
||||
categoryService.resetSort(req.getIds());
|
||||
return JsonResponse.success();
|
||||
|
Loading…
x
Reference in New Issue
Block a user