rk
5 天以前 8d2f5011aee911f31cba0e65a37dd700d6d39e0d
server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/common/PublicCloudController.java
@@ -166,9 +166,7 @@
        }
        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()+"");