|  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | import com.doumee.dao.business.model.IdentityInfo; | 
|---|
|  |  |  | import com.doumee.dao.dto.AuditDTO; | 
|---|
|  |  |  | import com.doumee.service.business.IdentityInfoService; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiOperation; | 
|---|
|  |  |  | 
|---|
|  |  |  | public ApiResponse<PageData<IdentityInfo>> findPage (@RequestBody PageWrap<IdentityInfo> pageWrap) { | 
|---|
|  |  |  | return ApiResponse.success(identityInfoService.findPage(pageWrap)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @ApiOperation("查询用户认证集合") | 
|---|
|  |  |  | @PostMapping("/memberList") | 
|---|
|  |  |  | @RequiresPermissions("business:identityinfo:query") | 
|---|
|  |  |  | public ApiResponse<List<IdentityInfo>> findMemberList (@RequestBody IdentityInfo pageWrap) { | 
|---|
|  |  |  | return ApiResponse.success(identityInfoService.findMemberList(pageWrap)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("导出Excel") | 
|---|
|  |  |  | @PostMapping("/exportExcel") | 
|---|
|  |  |  | 
|---|
|  |  |  | public ApiResponse findById(@PathVariable Integer id) { | 
|---|
|  |  |  | return ApiResponse.success(identityInfoService.findById(id)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("审批") | 
|---|
|  |  |  | @PostMapping("/audit") | 
|---|
|  |  |  | @RequiresPermissions("business:identityinfo:audit") | 
|---|
|  |  |  | public ApiResponse audit(@RequestBody AuditDTO auditDTO) { | 
|---|
|  |  |  | identityInfoService.audit(auditDTO); | 
|---|
|  |  |  | return ApiResponse.success("操作成功"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|