务工者追加app的个人基本信息查询
This commit is contained in:
@ -2,8 +2,10 @@ package com.ruoyi.web.controller.wgz.controller;
|
||||
|
||||
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.wgz.bo.req.WgzAppPersonalBasicInformationReq;
|
||||
import com.ruoyi.wgz.bo.req.WgzAppUserLongInReq;
|
||||
import com.ruoyi.wgz.bo.req.WgzAppUserRegisterReq;
|
||||
import com.ruoyi.wgz.bo.res.WgzAppPersonalBasicInformationRes;
|
||||
import com.ruoyi.wgz.bo.res.WgzAppUserLongInRes;
|
||||
import com.ruoyi.wgz.service.IWgzUserService;
|
||||
import io.swagger.annotations.Api;
|
||||
@ -33,7 +35,7 @@ public class WgzAppController {
|
||||
|
||||
|
||||
/**
|
||||
* 查询PC务工者列表
|
||||
* 【注册】务工者注册
|
||||
*/
|
||||
@ApiOperation("APP务工者注册")
|
||||
@PreAuthorize("@ss.hasPermi('wgzApp:user:register')")
|
||||
@ -43,12 +45,22 @@ public class WgzAppController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询PC务工者列表
|
||||
* 【我的】【个人基本信息】查询基础用户信息(还未带附件信息)
|
||||
*/
|
||||
@ApiOperation("APP务工者登录")
|
||||
@PreAuthorize("@ss.hasPermi('wgzApp:user:userLongIn')")
|
||||
@PostMapping("/wgzLongIn")
|
||||
public AjaxResult<WgzAppUserLongInRes> userLongIn(@Validated WgzAppUserLongInReq bo) {
|
||||
return AjaxResult.success(iWgzUserService.userLongIn(bo));
|
||||
@ApiOperation("APP务工者-个人基本信息")
|
||||
@PreAuthorize("@ss.hasPermi('wgzApp:user:userPersonalBasicInformation')")
|
||||
@PostMapping("/wgzPersonalBasicInformation")
|
||||
public AjaxResult<WgzAppPersonalBasicInformationRes> userPersonalBasicInformation(@Validated WgzAppPersonalBasicInformationReq req) {
|
||||
return AjaxResult.success(iWgzUserService.userPersonalBasicInformation(req));
|
||||
}
|
||||
|
||||
// /**
|
||||
// * 【我的】【实名认证】实名认证
|
||||
// */
|
||||
// @ApiOperation("APP务工者-实名认证")
|
||||
// @PreAuthorize("@ss.hasPermi('wgzApp:user:userRealNameAuthentication')")
|
||||
// @PostMapping("/wgzUserRealNameAuthentication")
|
||||
// public AjaxResult<WgzAppPersonalBasicInformationRes> userRealNameAuthentication(@Validated WgzAppPersonalBasicInformationReq req) {
|
||||
// return AjaxResult.success(iWgzUserService.userPersonalBasicInformation(req));
|
||||
// }
|
||||
}
|
||||
|
Reference in New Issue
Block a user