mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 02:28:25 +08:00 
			
		
		
		
	#942: 修复下载iphone的声音文件时微信返回文件名为空的问题
This commit is contained in:
		| @ -57,7 +57,7 @@ public class ApacheMediaDownloadRequestExecutor extends BaseMediaDownloadRequest | ||||
|  | ||||
|       String fileName = new HttpResponseProxy(response).getFileName(); | ||||
|       if (StringUtils.isBlank(fileName)) { | ||||
|         return null; | ||||
|         fileName = String.valueOf(System.currentTimeMillis()); | ||||
|       } | ||||
|  | ||||
|       return FileUtils.createTmpFile(inputStream, FilenameUtils.getBaseName(fileName), FilenameUtils.getExtension(fileName), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 shilianwang
					shilianwang