|
|
@ -67,7 +67,6 @@ public class CreatorMiniController extends BaseController { |
|
|
@Autowired |
|
|
@Autowired |
|
|
private FollowService followService; |
|
|
private FollowService followService; |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="检查手机号是否重复") |
|
|
@ApiOperation(value="检查手机号是否重复") |
|
|
@PostMapping(value = "/checkPhone") |
|
|
@PostMapping(value = "/checkPhone") |
|
|
public AjaxResult checkPhone(@Validated @RequestBody @ApiParam("手机号对象") CheckPhoneDto dto){ |
|
|
public AjaxResult checkPhone(@Validated @RequestBody @ApiParam("手机号对象") CheckPhoneDto dto){ |
|
|
@ -80,7 +79,6 @@ public class CreatorMiniController extends BaseController { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="检查搜索码是否重复") |
|
|
@ApiOperation(value="检查搜索码是否重复") |
|
|
@PostMapping(value = "/checkScanCode") |
|
|
@PostMapping(value = "/checkScanCode") |
|
|
public AjaxResult checkScanCode(@Validated @RequestBody @ApiParam("搜索码对象") CheckScanCodeDto dto){ |
|
|
public AjaxResult checkScanCode(@Validated @RequestBody @ApiParam("搜索码对象") CheckScanCodeDto dto){ |
|
|
@ -93,7 +91,6 @@ public class CreatorMiniController extends BaseController { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="检查邀请码是否存在") |
|
|
@ApiOperation(value="检查邀请码是否存在") |
|
|
@PostMapping(value = "/checkInviteCode") |
|
|
@PostMapping(value = "/checkInviteCode") |
|
|
public AjaxResult checkInviteCode(@Validated @RequestBody @ApiParam("邀请码对象") CheckInviteCodeDto dto){ |
|
|
public AjaxResult checkInviteCode(@Validated @RequestBody @ApiParam("邀请码对象") CheckInviteCodeDto dto){ |
|
|
@ -106,7 +103,6 @@ public class CreatorMiniController extends BaseController { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="注册艺术家") |
|
|
@ApiOperation(value="注册艺术家") |
|
|
@PostMapping(value = "/insertCreator") |
|
|
@PostMapping(value = "/insertCreator") |
|
|
public AjaxResult insertCreator(@Validated @RequestBody @ApiParam("艺术家对象") CreatorDto dto){ |
|
|
public AjaxResult insertCreator(@Validated @RequestBody @ApiParam("艺术家对象") CreatorDto dto){ |
|
|
@ -114,7 +110,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(creatorService.insertCreator(dto)); |
|
|
return AjaxResult.success(creatorService.insertCreator(dto)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查看艺术家审核结果") |
|
|
@ApiOperation(value="查看艺术家审核结果") |
|
|
@GetMapping(value = "/queryVerifyStatus/{creatorId}") |
|
|
@GetMapping(value = "/queryVerifyStatus/{creatorId}") |
|
|
public AjaxResult queryVerifyStatus(@PathVariable @ApiParam("审核结果id") Long creatorId){ |
|
|
public AjaxResult queryVerifyStatus(@PathVariable @ApiParam("审核结果id") Long creatorId){ |
|
|
@ -122,7 +117,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(verifyLogService.queryVerifyStatus(creatorId)); |
|
|
return AjaxResult.success(verifyLogService.queryVerifyStatus(creatorId)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家内部图片分页") |
|
|
@ApiOperation(value="查询指定艺术家内部图片分页") |
|
|
@PostMapping(value = "/listTiktokImgIn") |
|
|
@PostMapping(value = "/listTiktokImgIn") |
|
|
public TableDataInfo listTiktokImgIn(@Validated @RequestBody @ApiParam("TiktokImg对象") TiktokImgListMiniDto dto){ |
|
|
public TableDataInfo listTiktokImgIn(@Validated @RequestBody @ApiParam("TiktokImg对象") TiktokImgListMiniDto dto){ |
|
|
@ -131,14 +125,12 @@ public class CreatorMiniController extends BaseController { |
|
|
return getDataTable(tiktokImgService.queryInList(dto.getCreatorId(),dto.getTypeId(),dto.getStatus())); |
|
|
return getDataTable(tiktokImgService.queryInList(dto.getCreatorId(),dto.getTypeId(),dto.getStatus())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询图片详情") |
|
|
@ApiOperation(value="查询图片详情") |
|
|
@GetMapping(value = "/detailsTiktokImg/{id}") |
|
|
@GetMapping(value = "/detailsTiktokImg/{id}") |
|
|
public AjaxResult detailsTiktokImg(@ApiParam("图片id") @PathVariable Long id){ |
|
|
public AjaxResult detailsTiktokImg(@ApiParam("图片id") @PathVariable Long id){ |
|
|
return AjaxResult.success(tiktokImgService.queryCreatorImgDetails(String.valueOf(id))); |
|
|
return AjaxResult.success(tiktokImgService.queryCreatorImgDetails(String.valueOf(id))); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="批量删除艺术家图片") |
|
|
@ApiOperation(value="批量删除艺术家图片") |
|
|
@GetMapping(value = "/deleteTiktokImg/{ids}") |
|
|
@GetMapping(value = "/deleteTiktokImg/{ids}") |
|
|
public AjaxResult deleteTiktokImg(@PathVariable @ApiParam("主键ids") List<Long> ids){ |
|
|
public AjaxResult deleteTiktokImg(@PathVariable @ApiParam("主键ids") List<Long> ids){ |
|
|
@ -146,7 +138,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(tiktokImgService.delete(ids)); |
|
|
return AjaxResult.success(tiktokImgService.delete(ids)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="新增艺术家图片") |
|
|
@ApiOperation(value="新增艺术家图片") |
|
|
@PostMapping(value = "/insertTiktokImg") |
|
|
@PostMapping(value = "/insertTiktokImg") |
|
|
public AjaxResult insertTiktokImg(@Validated @RequestBody @ApiParam("TiktokImg对象") TiktokImgMiniDto dto){ |
|
|
public AjaxResult insertTiktokImg(@Validated @RequestBody @ApiParam("TiktokImg对象") TiktokImgMiniDto dto){ |
|
|
@ -155,21 +146,18 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(); |
|
|
return AjaxResult.success(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询type列表") |
|
|
@ApiOperation(value="查询type列表") |
|
|
@GetMapping(value = "/listType") |
|
|
@GetMapping(value = "/listType") |
|
|
public AjaxResult listType(){ |
|
|
public AjaxResult listType(){ |
|
|
return AjaxResult.success(typeService.queryList()); |
|
|
return AjaxResult.success(typeService.queryList()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询banner列表") |
|
|
@ApiOperation(value="查询banner列表") |
|
|
@GetMapping(value = "/listBanner") |
|
|
@GetMapping(value = "/listBanner") |
|
|
public AjaxResult listBanner(){ |
|
|
public AjaxResult listBanner(){ |
|
|
return AjaxResult.success(bannerService.queryList("0")); |
|
|
return AjaxResult.success(bannerService.queryList("0")); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="10天内重新发起审核") |
|
|
@ApiOperation(value="10天内重新发起审核") |
|
|
@GetMapping(value = "/reVerify/{creatorId}") |
|
|
@GetMapping(value = "/reVerify/{creatorId}") |
|
|
public AjaxResult reVerify(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
public AjaxResult reVerify(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
@ -177,7 +165,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(creatorService.reVerify(creatorId)); |
|
|
return AjaxResult.success(creatorService.reVerify(creatorId)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@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){ |
|
|
@ -185,7 +172,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(noticeService.queryFrontDetails(id)); |
|
|
return AjaxResult.success(noticeService.queryFrontDetails(id)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询公告列表") |
|
|
@ApiOperation(value="查询公告列表") |
|
|
@PostMapping(value = "/getNoticeList") |
|
|
@PostMapping(value = "/getNoticeList") |
|
|
public TableDataInfo getNoticeList(@RequestBody @ApiParam("分页参数") BasePageDto dto){ |
|
|
public TableDataInfo getNoticeList(@RequestBody @ApiParam("分页参数") BasePageDto dto){ |
|
|
@ -193,7 +179,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return getDataTable(noticeService.queryList()); |
|
|
return getDataTable(noticeService.queryList()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询邀请记录") |
|
|
@ApiOperation(value="查询邀请记录") |
|
|
@PostMapping(value = "/getInviteLog") |
|
|
@PostMapping(value = "/getInviteLog") |
|
|
public TableDataInfo getInviteLog(@RequestBody @ApiParam("艺术家分页对象") CreatorInviteLogPageDto dto){ |
|
|
public TableDataInfo getInviteLog(@RequestBody @ApiParam("艺术家分页对象") CreatorInviteLogPageDto dto){ |
|
|
@ -202,7 +187,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return getDataTable(inviteLogService.queryFrontList(dto.getCreatorId())); |
|
|
return getDataTable(inviteLogService.queryFrontList(dto.getCreatorId())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家收款账户") |
|
|
@ApiOperation(value="查询指定艺术家收款账户") |
|
|
@GetMapping(value = "/getAccount/{creatorId}") |
|
|
@GetMapping(value = "/getAccount/{creatorId}") |
|
|
public AjaxResult getAccount(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
public AjaxResult getAccount(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
@ -246,7 +230,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(creatorAccountService.setDefaultAccountStatus(dto.getId(),dto.getStatus(),dto.getCreatorId())); |
|
|
return AjaxResult.success(creatorAccountService.setDefaultAccountStatus(dto.getId(),dto.getStatus(),dto.getCreatorId())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家提现记录分页") |
|
|
@ApiOperation(value="查询指定艺术家提现记录分页") |
|
|
@PostMapping(value = "/getWithdrawList") |
|
|
@PostMapping(value = "/getWithdrawList") |
|
|
public TableDataInfo getWithdrawList(@RequestBody @ApiParam("艺术家对象") CreatorWithdrawPageDto dto){ |
|
|
public TableDataInfo getWithdrawList(@RequestBody @ApiParam("艺术家对象") CreatorWithdrawPageDto dto){ |
|
|
@ -255,7 +238,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return getDataTable(withdrawLogService.queryFrontList(dto.getCreatorId())); |
|
|
return getDataTable(withdrawLogService.queryFrontList(dto.getCreatorId())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家提现记录明细") |
|
|
@ApiOperation(value="查询指定艺术家提现记录明细") |
|
|
@PostMapping(value = "/getWithdrawDetails") |
|
|
@PostMapping(value = "/getWithdrawDetails") |
|
|
public AjaxResult getWithdrawDetails(@Validated @RequestBody @ApiParam("订单对象") WithdrawOrderDto param){ |
|
|
public AjaxResult getWithdrawDetails(@Validated @RequestBody @ApiParam("订单对象") WithdrawOrderDto param){ |
|
|
@ -263,7 +245,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(withdrawLogService.queryFrontDetails(param.getOrderId())); |
|
|
return AjaxResult.success(withdrawLogService.queryFrontDetails(param.getOrderId())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="检查艺术家是否可提现") |
|
|
@ApiOperation(value="检查艺术家是否可提现") |
|
|
@PostMapping(value = "/checkWithdraw") |
|
|
@PostMapping(value = "/checkWithdraw") |
|
|
public AjaxResult checkWithdraw(@Validated @RequestBody @ApiParam("检查提现对象") checkWithdrawDto dto){ |
|
|
public AjaxResult checkWithdraw(@Validated @RequestBody @ApiParam("检查提现对象") checkWithdrawDto dto){ |
|
|
@ -271,7 +252,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(withdrawLogService.checkWithdraw(dto.getCreatorId(),dto.getAmt())); |
|
|
return AjaxResult.success(withdrawLogService.checkWithdraw(dto.getCreatorId(),dto.getAmt())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="发起提现申请") |
|
|
@ApiOperation(value="发起提现申请") |
|
|
@PostMapping(value = "/withdraw") |
|
|
@PostMapping(value = "/withdraw") |
|
|
public AjaxResult withdraw(@Validated @RequestBody @ApiParam("提现对象") WithdrawDto dto){ |
|
|
public AjaxResult withdraw(@Validated @RequestBody @ApiParam("提现对象") WithdrawDto dto){ |
|
|
@ -279,7 +259,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(withdrawLogService.insert(dto.extractParam())); |
|
|
return AjaxResult.success(withdrawLogService.insert(dto.extractParam())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="艺术家手动确认收益") |
|
|
@ApiOperation(value="艺术家手动确认收益") |
|
|
@PostMapping(value = "/handleUpdateConfirmType") |
|
|
@PostMapping(value = "/handleUpdateConfirmType") |
|
|
public AjaxResult handleUpdateConfirmType(@Validated @RequestBody @ApiParam("手动确认收益对象") CreatorHandleConfirmProfitDto dto){ |
|
|
public AjaxResult handleUpdateConfirmType(@Validated @RequestBody @ApiParam("手动确认收益对象") CreatorHandleConfirmProfitDto dto){ |
|
|
@ -287,7 +266,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(creatorProfitService.handleUpdateConfirmType(dto.getId(), dto.getCreatorId())); |
|
|
return AjaxResult.success(creatorProfitService.handleUpdateConfirmType(dto.getId(), dto.getCreatorId())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家即将入账广告及邀请次数列表") |
|
|
@ApiOperation(value="查询指定艺术家即将入账广告及邀请次数列表") |
|
|
@GetMapping(value = "/queryFrontPreDownloadAndInviteCount/{creatorId}") |
|
|
@GetMapping(value = "/queryFrontPreDownloadAndInviteCount/{creatorId}") |
|
|
public AjaxResult queryFrontPreDownloadAndInviteCount(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
public AjaxResult queryFrontPreDownloadAndInviteCount(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
@ -295,7 +273,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(creatorProfitService.queryFrontPreDownloadAndInviteCount(creatorId)); |
|
|
return AjaxResult.success(creatorProfitService.queryFrontPreDownloadAndInviteCount(creatorId)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家即将入账收益列表") |
|
|
@ApiOperation(value="查询指定艺术家即将入账收益列表") |
|
|
@PostMapping(value = "/queryFrontPreProfit") |
|
|
@PostMapping(value = "/queryFrontPreProfit") |
|
|
public TableDataInfo queryFrontPreProfit(@Validated @RequestBody @ApiParam("即将入账对象") ProfitStatusDto params){ |
|
|
public TableDataInfo queryFrontPreProfit(@Validated @RequestBody @ApiParam("即将入账对象") ProfitStatusDto params){ |
|
|
@ -303,14 +280,12 @@ public class CreatorMiniController extends BaseController { |
|
|
return getDataTable(creatorProfitService.queryFrontPreProfit(params.getCreatorId(),params.getType())); |
|
|
return getDataTable(creatorProfitService.queryFrontPreProfit(params.getCreatorId(),params.getType())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家已入账/转入钱包累计收益") |
|
|
@ApiOperation(value="查询指定艺术家已入账/转入钱包累计收益") |
|
|
@PostMapping(value = "/queryFrontInOrOutAmt") |
|
|
@PostMapping(value = "/queryFrontInOrOutAmt") |
|
|
public AjaxResult queryFrontInOrOutAmt(@Validated @RequestBody @ApiParam("参数对象") ProfitInOrEndDto params){ |
|
|
public AjaxResult queryFrontInOrOutAmt(@Validated @RequestBody @ApiParam("参数对象") ProfitInOrEndDto params){ |
|
|
return AjaxResult.success(creatorProfitService.queryFrontInOrEndProfitAmt(params)); |
|
|
return AjaxResult.success(creatorProfitService.queryFrontInOrEndProfitAmt(params)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家已入账收益列表") |
|
|
@ApiOperation(value="查询指定艺术家已入账收益列表") |
|
|
@PostMapping(value = "/queryFrontInProfitAmt") |
|
|
@PostMapping(value = "/queryFrontInProfitAmt") |
|
|
public TableDataInfo queryFrontInProfitAmt(@Validated @RequestBody @ApiParam("已入账对象") ProfitStatusDto params){ |
|
|
public TableDataInfo queryFrontInProfitAmt(@Validated @RequestBody @ApiParam("已入账对象") ProfitStatusDto params){ |
|
|
@ -318,14 +293,12 @@ public class CreatorMiniController extends BaseController { |
|
|
return getDataTable(creatorProfitService.queryFrontInProfitAmt(params.getCreatorId(),params.getType())); |
|
|
return getDataTable(creatorProfitService.queryFrontInProfitAmt(params.getCreatorId(),params.getType())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家已入账收益详情") |
|
|
@ApiOperation(value="查询指定艺术家已入账收益详情") |
|
|
@GetMapping(value = "/queryFrontInAmtDetails/{id}") |
|
|
@GetMapping(value = "/queryFrontInAmtDetails/{id}") |
|
|
public AjaxResult queryFrontInAmtDetails(@PathVariable @ApiParam("收益id") Long id){ |
|
|
public AjaxResult queryFrontInAmtDetails(@PathVariable @ApiParam("收益id") Long id){ |
|
|
return AjaxResult.success(creatorProfitService.queryFrontInProfitAmtDetails(id)); |
|
|
return AjaxResult.success(creatorProfitService.queryFrontInProfitAmtDetails(id)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家转入钱包收益列表") |
|
|
@ApiOperation(value="查询指定艺术家转入钱包收益列表") |
|
|
@PostMapping(value = "/queryFrontEndProfitAmt") |
|
|
@PostMapping(value = "/queryFrontEndProfitAmt") |
|
|
public TableDataInfo queryFrontEndProfitAmt(@Validated @RequestBody @ApiParam("转入钱包对象") ProfitStatusDto params){ |
|
|
public TableDataInfo queryFrontEndProfitAmt(@Validated @RequestBody @ApiParam("转入钱包对象") ProfitStatusDto params){ |
|
|
@ -333,21 +306,18 @@ public class CreatorMiniController extends BaseController { |
|
|
return getDataTable(creatorProfitService.queryFrontEndProfitAmt(params.getCreatorId(),params.getType())); |
|
|
return getDataTable(creatorProfitService.queryFrontEndProfitAmt(params.getCreatorId(),params.getType())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家转入钱包收益详情") |
|
|
@ApiOperation(value="查询指定艺术家转入钱包收益详情") |
|
|
@GetMapping(value = "/queryFrontEndAmtDetails/{id}") |
|
|
@GetMapping(value = "/queryFrontEndAmtDetails/{id}") |
|
|
public AjaxResult queryFrontEndAmtDetails(@PathVariable @ApiParam("收益id") Long id){ |
|
|
public AjaxResult queryFrontEndAmtDetails(@PathVariable @ApiParam("收益id") Long id){ |
|
|
return AjaxResult.success(creatorProfitService.queryFrontEndAmtDetails(id)); |
|
|
return AjaxResult.success(creatorProfitService.queryFrontEndAmtDetails(id)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询指定艺术家收益统计") |
|
|
@ApiOperation(value="查询指定艺术家收益统计") |
|
|
@GetMapping(value = "/queryFrontProfitInfo/{creatorId}") |
|
|
@GetMapping(value = "/queryFrontProfitInfo/{creatorId}") |
|
|
public AjaxResult queryFrontProfitInfo(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
public AjaxResult queryFrontProfitInfo(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
return AjaxResult.success(creatorProfitService.queryFrontProfitInfo(creatorId)); |
|
|
return AjaxResult.success(creatorProfitService.queryFrontProfitInfo(creatorId)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@GetMapping("/getCreatorInfo/{creatorId}") |
|
|
@GetMapping("/getCreatorInfo/{creatorId}") |
|
|
@ApiOperation("获取艺术家信息") |
|
|
@ApiOperation("获取艺术家信息") |
|
|
public AjaxResult getCreatorInfo(@PathVariable @ApiParam("艺术家id") Long creatorId) |
|
|
public AjaxResult getCreatorInfo(@PathVariable @ApiParam("艺术家id") Long creatorId) |
|
|
@ -355,7 +325,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(creatorService.getCreatorInfo(creatorId)); |
|
|
return AjaxResult.success(creatorService.getCreatorInfo(creatorId)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@PostMapping("/getCreatorInfo") |
|
|
@PostMapping("/getCreatorInfo") |
|
|
@ApiOperation("获取艺术家信息") |
|
|
@ApiOperation("获取艺术家信息") |
|
|
public R<LoginCreator> getCreatorInfoByPhoneAndPassword(@Validated @ApiParam("艺术家登录数据") @RequestBody CreatorLoginDto param) |
|
|
public R<LoginCreator> getCreatorInfoByPhoneAndPassword(@Validated @ApiParam("艺术家登录数据") @RequestBody CreatorLoginDto param) |
|
|
@ -370,14 +339,12 @@ public class CreatorMiniController extends BaseController { |
|
|
creatorService.updateLoginTime(creatorId); |
|
|
creatorService.updateLoginTime(creatorId); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="查询艺术家分类图片数量") |
|
|
@ApiOperation(value="查询艺术家分类图片数量") |
|
|
@GetMapping(value = "/queryCreatorTypeImgNum/{creatorId}") |
|
|
@GetMapping(value = "/queryCreatorTypeImgNum/{creatorId}") |
|
|
public AjaxResult queryCreatorTypeImgNum(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
public AjaxResult queryCreatorTypeImgNum(@PathVariable @ApiParam("艺术家id") Long creatorId){ |
|
|
return AjaxResult.success(tiktokImgService.queryCreatorTypeImgNum(creatorId)); |
|
|
return AjaxResult.success(tiktokImgService.queryCreatorTypeImgNum(creatorId)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@PostMapping("/onlineOrOfflineImg") |
|
|
@PostMapping("/onlineOrOfflineImg") |
|
|
@ApiOperation("小程序艺术家上下架图片") |
|
|
@ApiOperation("小程序艺术家上下架图片") |
|
|
public AjaxResult onlineOrOfflineImg(@Validated @ApiParam("艺术家图片数据") @RequestBody StatusDto param) |
|
|
public AjaxResult onlineOrOfflineImg(@Validated @ApiParam("艺术家图片数据") @RequestBody StatusDto param) |
|
|
@ -386,14 +353,12 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(tiktokImgService.onlineOrOfflineImg(param)); |
|
|
return AjaxResult.success(tiktokImgService.onlineOrOfflineImg(param)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@RequiresPermissions("system:config:list")
|
|
|
|
|
|
@ApiOperation(value="获取上传页面标签列表") |
|
|
@ApiOperation(value="获取上传页面标签列表") |
|
|
@GetMapping(value = "/signList") |
|
|
@GetMapping(value = "/signList") |
|
|
public AjaxResult querySignList(){ |
|
|
public AjaxResult querySignList(){ |
|
|
return AjaxResult.success(signService.querySignList()); |
|
|
return AjaxResult.success(signService.querySignList()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value = "八字算命") |
|
|
@ApiOperation(value = "八字算命") |
|
|
@PostMapping("/getYs") |
|
|
@PostMapping("/getYs") |
|
|
public AjaxResult getYs(@RequestBody @ApiParam("八字运势") BzDto dto) { |
|
|
public AjaxResult getYs(@RequestBody @ApiParam("八字运势") BzDto dto) { |
|
|
@ -417,7 +382,6 @@ public class CreatorMiniController extends BaseController { |
|
|
return AjaxResult.success(followService.queryFansNum(dto.getCreatorId())); |
|
|
return AjaxResult.success(followService.queryFansNum(dto.getCreatorId())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@TokenCheck
|
|
|
|
|
|
@ApiOperation(value="置顶图片") |
|
|
@ApiOperation(value="置顶图片") |
|
|
@GetMapping(value = "/topImg/{id}") |
|
|
@GetMapping(value = "/topImg/{id}") |
|
|
public AjaxResult topImg(@PathVariable @ApiParam("图片id") Long id){ |
|
|
public AjaxResult topImg(@PathVariable @ApiParam("图片id") Long id){ |
|
|
|