use of com.moxi.mogublog.admin.annotion.OperationLogger.OperationLogger in project mogu_blog_v2 by moxi624.
the class PictureSortRestApi method getPictureSortByUid.
@OperationLogger(value = "通过Uid获取分类")
@ApiOperation(value = "通过Uid获取分类", notes = "通过Uid获取分类", response = String.class)
@PostMapping("/getPictureSortByUid")
public String getPictureSortByUid(@Validated({ Delete.class }) @RequestBody PictureSortVO pictureSortVO, BindingResult result) {
// 参数校验
ThrowableUtils.checkParamArgument(result);
PictureSort pictureSort = pictureSortService.getById(pictureSortVO.getUid());
log.info("通过Uid获取分类: {}", pictureSort);
return ResultUtil.successWithData(pictureSort);
}
Aggregations