| | |
| | | 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 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("操作成功"); |
| | | } |
| | | |
| | | |
| | | } |