|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | InputStream inputStream = HttpsUtil.connectionInputsteam(param.getUrl(),"GET",null,null); | 
|---|
|  |  |  | if(inputStream == null){ | 
|---|
|  |  |  | if(StringUtils.isBlank(param.getUrl())){ | 
|---|
|  |  |  | throw  new BusinessException(ResponseStatus.DATA_EMPTY.getCode(),"文件下载失败,请检查文件路径是否合法!"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | throw  new BusinessException(ResponseStatus.DATA_EMPTY.getCode(),"文件下载失败,请检查文件路径是否合法!"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(StringUtils.isBlank(param.getFileName())){ | 
|---|
|  |  |  | param.setFileName(System.currentTimeMillis()+""); | 
|---|
|  |  |  | 
|---|
|  |  |  | String fileName = folder+"/"+fName; | 
|---|
|  |  |  | boolean r = ftp.uploadInputstream(is,fileName); | 
|---|
|  |  |  | if(r){ | 
|---|
|  |  |  | isFace = null; | 
|---|
|  |  |  | if(Objects.nonNull(isFace) && Constants.equalsInteger(isFace,Constants.ZERO)){ | 
|---|
|  |  |  | //验证人脸评分 | 
|---|
|  |  |  | //人脸评分 | 
|---|