增加接口和app初始头像
This commit is contained in:
@ -7,15 +7,18 @@
|
||||
import com.ruoyi.bgt.domain.vo.BgtProjectRecruitVO;
|
||||
import com.ruoyi.bgt.service.IBgtProjectRecruitApplyService;
|
||||
import com.ruoyi.bgt.service.IBgtProjectRecruitService;
|
||||
import com.ruoyi.bgt.service.IBgtUserService;
|
||||
import com.ruoyi.common.bo.AnnexQueryBo;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import com.ruoyi.common.core.domain.entity.BgtUser;
|
||||
import com.ruoyi.common.core.domain.entity.SysDictData;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.domain.Annex;
|
||||
import com.ruoyi.common.service.IAnnexService;
|
||||
import com.ruoyi.common.utils.SecurityUtils;
|
||||
import com.ruoyi.system.service.ISysDictTypeService;
|
||||
import com.ruoyi.web.controller.bgt.BgtUserController;
|
||||
import com.ruoyi.wgz.bo.res.*;
|
||||
import com.ruoyi.wgz.bo.rests.WgzAppGetTestPaperThree;
|
||||
import com.ruoyi.wgz.bo.rests.WgzAppGetTestPaperTwo;
|
||||
@ -101,6 +104,9 @@
|
||||
@Autowired
|
||||
private IWgzMessageService iWgzMessageService;
|
||||
|
||||
@Autowired
|
||||
private IBgtUserService bgtUserService;
|
||||
|
||||
|
||||
/**
|
||||
* 【注册】务工者注册
|
||||
@ -594,6 +600,24 @@
|
||||
return AjaxResult.success(iWgzMessageService.userReadUnread(req));
|
||||
}
|
||||
|
||||
/**
|
||||
* 【获取审批人】
|
||||
*/
|
||||
@ApiOperation("【通用】获取审批人")
|
||||
//@PreAuthorize("@ss.hasPermi('wgzApp:user:userGetTheApprover')")
|
||||
@GetMapping("/WgzAppUserGetTheApprover")
|
||||
public AjaxResult<WgzAppUserGetTheApproverRes> userGetTheApprover() {
|
||||
Long appUserId = SecurityUtils.getAppUserId();
|
||||
BgtProjectRecruitApply by = iBgtProjectRecruitApplyService.selectByUserIdProjectRecruitApplyId(appUserId);
|
||||
BgtProjectRecruit appById = iBgtProjectRecruitService.getAppById(by.getRecruitId());
|
||||
BgtUser byId = bgtUserService.selectUserByUserId(appById.getUserId());
|
||||
return AjaxResult.success(new WgzAppUserGetTheApproverRes().
|
||||
setUserId(byId.getUserId()).
|
||||
setUsername(byId.getUsername()).
|
||||
setAvatarName(byId.getAvatarName())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@ -619,9 +643,9 @@
|
||||
return section;
|
||||
}
|
||||
|
||||
/**
|
||||
* 【我的】【实名认证】实名认证·删除附件
|
||||
*/
|
||||
// /**
|
||||
// * 【我的】【实名认证】实名认证·删除附件
|
||||
// */
|
||||
// @ApiOperation("APP务工者-实名认证·删除附件")
|
||||
// //@PreAuthorize("@ss.hasPermi('wgzApp:user:userDeleteAttachment')")
|
||||
// @DeleteMapping("/WgzUserDeleteAttachment/{attachmentId}")
|
||||
@ -630,9 +654,9 @@
|
||||
// }
|
||||
|
||||
|
||||
/**
|
||||
* 【首页】【项目进行中】 项目进行中·申请工资结算(查询)
|
||||
*/
|
||||
// /**
|
||||
// * 【首页】【项目进行中】 项目进行中·申请工资结算(查询)
|
||||
// */
|
||||
// @ApiOperation("【首页】【项目进行中】 项目进行中·申请工资结算(查询)")
|
||||
// //@PreAuthorize("@ss.hasPermi('wgzApp:user:userApplyForPayrollSettlementFind')")
|
||||
// @GetMapping("/WgzAppUserApplyForPayrollSettlementFind")
|
||||
|
Reference in New Issue
Block a user