222
This commit is contained in:
@ -95,12 +95,14 @@ public class WgzAppController {
|
||||
@Autowired
|
||||
private IWgzPayCalculationService iWgzPayCalculationService;
|
||||
|
||||
@Autowired
|
||||
private IWgzMessageService iWgzMessageService;
|
||||
|
||||
|
||||
/**
|
||||
* 【注册】务工者注册
|
||||
*/
|
||||
@ApiOperation("【务工者账号注册】")
|
||||
@PreAuthorize("@ss.hasPermi('wgzApp:user:register')")
|
||||
@PostMapping("/wgzRegister")
|
||||
public AjaxResult<Boolean> userRegister(@Validated @RequestBody WgzAppRegisterReq bo) {
|
||||
return AjaxResult.success(iWgzUserService.userRegister(bo));
|
||||
@ -441,6 +443,17 @@ public class WgzAppController {
|
||||
return iWgzPayCalculationService.userApplyForPayrollSettlementList(req);
|
||||
}
|
||||
|
||||
/**
|
||||
* 【消息】消息类型统计
|
||||
*/
|
||||
@ApiOperation("【消息】消息类型统计")
|
||||
@PreAuthorize("@ss.hasPermi('wgzApp:user:userMessageTypeStatistics')")
|
||||
@GetMapping("/WgzAppUserMessageTypeStatistics")
|
||||
public AjaxResult<WgzAppMessageTypeStatisticsRes> userMessageTypeStatistics() {
|
||||
Long appUserId = SecurityUtils.getAppUserId();
|
||||
return AjaxResult.success(iWgzMessageService.userMessageTypeStatistics(appUserId));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user