This commit is contained in:
2025-02-24 19:12:16 +08:00
parent 35a644c5da
commit bb0d3d0146
10 changed files with 126 additions and 8 deletions

View File

@ -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));
}