mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
fix: controller层代码修正
This commit is contained in:
@@ -143,7 +143,7 @@ public class CourseManageApi extends ApiBaseController{
|
|||||||
@PostMapping("/top-sortchange")
|
@PostMapping("/top-sortchange")
|
||||||
public JsonResponse<List<CoursePageVo>> topListSortChange(@RequestBody List<CoursePageVo> changedList) {
|
public JsonResponse<List<CoursePageVo>> topListSortChange(@RequestBody List<CoursePageVo> changedList) {
|
||||||
ServiceResponse<List<CoursePageVo>> serviceResponse = coursePageService.topListSortChange(changedList);
|
ServiceResponse<List<CoursePageVo>> serviceResponse = coursePageService.topListSortChange(changedList);
|
||||||
if (serviceResponse.isSuccess()) {
|
if (!serviceResponse.isSuccess()) {
|
||||||
return error(serviceResponse.getMessage());
|
return error(serviceResponse.getMessage());
|
||||||
}
|
}
|
||||||
return success(serviceResponse.getData());
|
return success(serviceResponse.getData());
|
||||||
|
|||||||
Reference in New Issue
Block a user