|
@@ -64,6 +64,12 @@ public class ExpertController {
|
|
return entityService.updateDisplay(id, display);
|
|
return entityService.updateDisplay(id, display);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "排序", notes = "升序")
|
|
|
|
+ @GetMapping("sort/{id}/{sort}")
|
|
|
|
+ public Result sort(@PathVariable Long id, @PathVariable Integer sort) {
|
|
|
|
+ return entityService.sort(id, sort);
|
|
|
|
+ }
|
|
|
|
+
|
|
@WebControllerLog(description = "专家管理-上传")
|
|
@WebControllerLog(description = "专家管理-上传")
|
|
@ApiOperation(value = "上传(图片、视频)", notes = "type:img:图片, video:视频")
|
|
@ApiOperation(value = "上传(图片、视频)", notes = "type:img:图片, video:视频")
|
|
@PostMapping("upload/{type}")
|
|
@PostMapping("upload/{type}")
|