| | |
| | | model.addAttribute("bodyType",0); |
| | | model.addAttribute("code",null); |
| | | model.addAttribute("reasons",null); |
| | | // 0不显示二维码 |
| | | model.addAttribute("type",0); |
| | | |
| | | }else{ |
| | | if (info.getOrderStatus().equals("AUDIT_PASS")){ |
| | | // 通过才展示二维码 |
| | | model.addAttribute("type",1); |
| | | }else{ |
| | | model.addAttribute("type",0); |
| | | } |
| | | model.addAttribute("code",info.getQrCode()); |
| | | model.addAttribute("item",info); |
| | | model.addAttribute("bodyType",info.getBodyType()); |
| | |
| | | if(beneficiaryBack==null || beneficiaryBack.equals("")){ |
| | | beneficiaryBack = data.getBeneficiaryBack(); |
| | | operatorAuth.setBeneficiaryBack(data.getBeneficiaryBack()); |
| | | } |
| | | }else{ |
| | | if(businessPicture==null || businessPicture.equals("")){ |
| | | // 未上传营业执照 |
| | | return 5001; |
| | | } |
| | | if(legalFront==null || legalFront.equals("")){ |
| | | // 未上传法人身份证正面照 |
| | | return 5002; |
| | | } |
| | | if(legalBack==null || legalBack.equals("")){ |
| | | // 未上传法人身份证背面照 |
| | | return 5003; |
| | | } |
| | | if (businessPicture!=null && businessPicture.equals("ENTERPRISE")){ |
| | | if(beneficiaryFront==null || beneficiaryFront.equals("")){ |
| | | // 未上传受益人身份证正面照 |
| | | return 5004; |
| | | } |
| | | if(beneficiaryBack==null || beneficiaryBack.equals("")){ |
| | | // 未上传受益人身份证背面照 |
| | | return 5005; |
| | | } |
| | | } |
| | | } |
| | | String numericUUID = uuid.toString().replaceAll("-", ""); |
| | |
| | | if (userId1!=null){ |
| | | // 设置为审核中状态 |
| | | userId1.setAlipayAudit(1); |
| | | if (bodyType.equals("ENTERPRISE")){ |
| | | userId1.setAlipayType(2); |
| | | }else{ |
| | | userId1.setAlipayType(1); |
| | | } |
| | | // userId1.setWechatAudit(1); |
| | | operatorUserService.updateById(userId1); |
| | | operatorAuth.setQrCode(null); |
| | | operatorAuthService.saveOrUpdate(operatorAuth); |
| | | // 根据选择类型修改认证类型 |
| | | |
| | | } |
| | | } |
| | | } else { |