1
0
mirror of synced 2025-12-23 10:39:27 +08:00

🎨 #3437 【企业微信】 微盘文件管理相关接口移除过期的userid参数

This commit is contained in:
Binary Wang
2024-12-14 00:14:58 +08:00
parent f70a305aea
commit a4e3af0eb6
8 changed files with 60 additions and 80 deletions

View File

@@ -110,13 +110,13 @@ public class WxCpOaWeDriveServiceTest {
*/
ArrayList<String> fileIds = Lists.newArrayList();
fileIds.add(fileId);
WxCpBaseResp fileDelete = cpService.getOaWeDriveService().fileDelete(uId, fileIds);
WxCpBaseResp fileDelete = cpService.getOaWeDriveService().fileDelete(fileIds);
log.info("删除文件数据为:{}", fileDelete.toJson());
/**
* 文件信息
*/
WxCpFileInfo fileInfo = cpService.getOaWeDriveService().fileInfo(uId, fileId);
WxCpFileInfo fileInfo = cpService.getOaWeDriveService().fileInfo(fileId);
log.info("fileInfo数据为{}", fileInfo.toJson());
/**
@@ -134,7 +134,7 @@ public class WxCpOaWeDriveServiceTest {
/**
* 新建文件/微文档
*/
WxCpFileCreate fileCreate = cpService.getOaWeDriveService().fileCreate(uId, spId, spId, 3, "新建微文档1");
WxCpFileCreate fileCreate = cpService.getOaWeDriveService().fileCreate(spId, spId, 3, "新建微文档1");
log.info("新建文件/微文档:{}", fileCreate.toJson());
/**