|  |  | @ -178,18 +178,18 @@ public class CodeServiceImpl implements CodeService { | 
			
		
	
		
			
				
					|  |  |  | 					if (result.getStatus() == NumConstant.ZERO) { | 
			
		
	
		
			
				
					|  |  |  | 						code.setStatus(CodeConstant.AUDIT_SUCCESS); | 
			
		
	
		
			
				
					|  |  |  | 						auditResult.setResult(CodeConstant.AUDIT_SUCCESS); | 
			
		
	
		
			
				
					|  |  |  | 						codeOperationHistoryService.updateDescribe(code.getId(), "审核成功"); | 
			
		
	
		
			
				
					|  |  |  | 						saveOperation(formDTO.getCustomerId(), code.getId(), code.getUserVersion(), CodeConstant.OPER_SUCCESS, "审核成功"); | 
			
		
	
		
			
				
					|  |  |  | 					} else if (result.getStatus() == NumConstant.ONE) { | 
			
		
	
		
			
				
					|  |  |  | 						code.setStatus(CodeConstant.AUDIT_FAILED); | 
			
		
	
		
			
				
					|  |  |  | 						auditResult.setResult(CodeConstant.AUDIT_FAILED); | 
			
		
	
		
			
				
					|  |  |  | 						auditResult.setReason(result.getReason()); | 
			
		
	
		
			
				
					|  |  |  | 						auditResult.setScreenShot(result.getScreenshot()); | 
			
		
	
		
			
				
					|  |  |  | 						codeOperationHistoryService.updateDescribe(code.getId(), result.getReason()); | 
			
		
	
		
			
				
					|  |  |  | 						saveOperation(formDTO.getCustomerId(), code.getId(), code.getUserVersion(), CodeConstant.OPER_FAILED, result.getReason()); | 
			
		
	
		
			
				
					|  |  |  | 					} else if (result.getStatus() == NumConstant.FOUR) { | 
			
		
	
		
			
				
					|  |  |  | 						code.setStatus(CodeConstant.DELAY); | 
			
		
	
		
			
				
					|  |  |  | 						auditResult.setResult(CodeConstant.DELAY); | 
			
		
	
		
			
				
					|  |  |  | 						auditResult.setReason(result.getReason()); | 
			
		
	
		
			
				
					|  |  |  | 						codeOperationHistoryService.updateDescribe(code.getId(), "审核延后"); | 
			
		
	
		
			
				
					|  |  |  | 						saveOperation(formDTO.getCustomerId(), code.getId(), code.getUserVersion(), CodeConstant.OPER_DELAY, result.getReason()); | 
			
		
	
		
			
				
					|  |  |  | 					} | 
			
		
	
		
			
				
					|  |  |  | 					codeCustomerService.update(code); | 
			
		
	
		
			
				
					|  |  |  | 					codeAuditResultService.update(auditResult); | 
			
		
	
	
		
			
				
					|  |  | @ -238,6 +238,7 @@ public class CodeServiceImpl implements CodeService { | 
			
		
	
		
			
				
					|  |  |  | 			codeAuditResultDTO.setResult(CodeConstant.AUDITING); | 
			
		
	
		
			
				
					|  |  |  | 			codeAuditResultService.save(codeAuditResultDTO); | 
			
		
	
		
			
				
					|  |  |  | 		} else { | 
			
		
	
		
			
				
					|  |  |  | 			codeAuditResultDTO.setAuditId(wxResult.getData()); | 
			
		
	
		
			
				
					|  |  |  | 			codeAuditResultDTO.setResult(CodeConstant.AUDITING); | 
			
		
	
		
			
				
					|  |  |  | 			codeAuditResultService.update(codeAuditResultDTO); | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
	
		
			
				
					|  |  | @ -349,10 +350,10 @@ public class CodeServiceImpl implements CodeService { | 
			
		
	
		
			
				
					|  |  |  | 			request.setAuditId(codeAuditResultDTO.getAuditId()); | 
			
		
	
		
			
				
					|  |  |  | 			WxMaNewsReq wxMaNewsReq = new WxMaNewsReq(); | 
			
		
	
		
			
				
					|  |  |  | 			wxMaNewsReq.setMediaId(mediaId); | 
			
		
	
		
			
				
					|  |  |  | 			WxResult<WxMaNewsResult> wxAuditResult = wxMaCodeService.getMaterial(authInfo.getAuthorizerAccessToken(), wxMaNewsReq); | 
			
		
	
		
			
				
					|  |  |  | 			wxAuditResult.getData().getNewsItem().forEach(news -> { | 
			
		
	
		
			
				
					|  |  |  | 				urlList.add(news.getUrl()); | 
			
		
	
		
			
				
					|  |  |  | 			}); | 
			
		
	
		
			
				
					|  |  |  | 			WxResult<byte[]> wxAuditResult = wxMaCodeService.getMaterial(authInfo.getAuthorizerAccessToken(), wxMaNewsReq); | 
			
		
	
		
			
				
					|  |  |  | 			MultipartFile file = new MockMultipartFile("file", "QRCode.jpg", "image/jpeg", wxAuditResult.getData()); | 
			
		
	
		
			
				
					|  |  |  | 			Result<UploadImgResultDTO> uploadResult = ossFeignClient.uploadQrCode(file); | 
			
		
	
		
			
				
					|  |  |  | 			urlList.add(uploadResult.getData().getUrl()); | 
			
		
	
		
			
				
					|  |  |  | 		}); | 
			
		
	
		
			
				
					|  |  |  | 		result.setScreenshotUrl(urlList); | 
			
		
	
		
			
				
					|  |  |  | 		return result; | 
			
		
	
	
		
			
				
					|  |  | 
 |