mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
🐛 #1420 修复小程序云开发获取文件下载链接接口
This commit is contained in:
parent
0a99706b74
commit
1b193e3070
@ -19,6 +19,7 @@ public interface WxMaCloudService {
|
||||
String DATABASE_COLLECTION_ADD_URL = "https://api.weixin.qq.com/tcb/databasecollectionadd";
|
||||
String GET_QCLOUD_TOKEN_URL = "https://api.weixin.qq.com/tcb/getqcloudtoken";
|
||||
String BATCH_DELETE_FILE_URL = "https://api.weixin.qq.com/tcb/batchdeletefile";
|
||||
String BATCH_DOWNLOAD_FILE_URL = "https://api.weixin.qq.com/tcb/batchdownloadfile";
|
||||
String UPLOAD_FILE_URL = "https://api.weixin.qq.com/tcb/uploadfile";
|
||||
String DATABASE_MIGRATE_QUERY_INFO_URL = "https://api.weixin.qq.com/tcb/databasemigratequeryinfo";
|
||||
String DATABASE_MIGRATE_EXPORT_URL = "https://api.weixin.qq.com/tcb/databasemigrateexport";
|
||||
|
@ -133,7 +133,7 @@ public class WxMaCloudServiceImpl implements WxMaCloudService {
|
||||
fileList.add(ImmutableMap.of("fileid", fileId, "max_age", (Serializable) maxAges[i++]));
|
||||
}
|
||||
|
||||
String response = this.wxMaService.post(GET_QCLOUD_TOKEN_URL, ImmutableMap.of("env", env, "file_list", fileList));
|
||||
String response = this.wxMaService.post(BATCH_DOWNLOAD_FILE_URL, ImmutableMap.of("env", env, "file_list", fileList));
|
||||
return WxGsonBuilder.create().fromJson(response, WxCloudBatchDownloadFileResult.class);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user