|
|
@ -172,7 +172,7 @@ public class CreatorMiniController extends BaseController { |
|
|
@ApiOperation(value="查询公告详情") |
|
|
@ApiOperation(value="查询公告详情") |
|
|
@GetMapping(value = "/getNoticeDetails/{id}") |
|
|
@GetMapping(value = "/getNoticeDetails/{id}") |
|
|
public AjaxResult getNoticeDetails(@PathVariable @ApiParam("公告id") Long id){ |
|
|
public AjaxResult getNoticeDetails(@PathVariable @ApiParam("公告id") Long id){ |
|
|
log.info("【艺术家小程序】查询公告详情:",id); |
|
|
log.info("【艺术家小程序】查询公告详情:{}",id); |
|
|
return AjaxResult.success(noticeService.queryFrontDetails(id)); |
|
|
return AjaxResult.success(noticeService.queryFrontDetails(id)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -344,11 +344,11 @@ public class CreatorMiniController extends BaseController { |
|
|
} |
|
|
} |
|
|
return AjaxResult.error(); |
|
|
return AjaxResult.error(); |
|
|
} |
|
|
} |
|
|
@ApiOperation(value="检查某艺术家当日上传次数是否超标") |
|
|
@ApiOperation(value="检查某艺术家当日上传次数") |
|
|
@PostMapping(value = "/checkCreatorCanUpload") |
|
|
@PostMapping(value = "/getUploadNum") |
|
|
public AjaxResult checkCreatorCanUpload(@Validated @RequestBody @ApiParam("检查超标对象") CreatorUploadDto dto){ |
|
|
public AjaxResult getUploadNum(@Validated @RequestBody @ApiParam("获取次数对象") CreatorUploadDto dto){ |
|
|
log.debug("【艺术家小程序】检查艺术家当日上传次数是否超标参数为:{}", JSON.toJSONString(dto)); |
|
|
log.debug("【艺术家小程序】获取艺术家当日上传次数参数为:{}", JSON.toJSONString(dto)); |
|
|
return AjaxResult.success(creatorProfitService.checkCreatorCanUpload(dto.getCreatorId())); |
|
|
return AjaxResult.success(creatorProfitService.getUploadNum(dto.getCreatorId())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ApiOperation(value="获取艺术家粉丝数量") |
|
|
@ApiOperation(value="获取艺术家粉丝数量") |
|
|
|