1
0
mirror of synced 2025-12-27 13:37:59 +08:00

🆕 #2665【企业微信】增加微盘文件权限相关接口

This commit is contained in:
0katekate0
2022-05-26 16:10:44 +08:00
committed by GitHub
parent f83c55c010
commit 403d9c58ea
6 changed files with 101 additions and 1 deletions

View File

@@ -49,6 +49,19 @@ public class WxCpOaWeDriveServiceTest {
String fileId = "s.ww45d3e188865aca30.652091685u4h_f.652344507ysDL";
String fileId2 = "s.ww45d3e188865aca30.652091685u4h_f.652696024TU4P";
/**
* 获取分享链接
*/
WxCpFileShare fileShare = cpService.getOaWeDriveService().fileShare(uId, fileId2);
log.info("获取分享链接返回结果为:{}", fileShare.toJson());
/**
* 分享设置
*/
WxCpBaseResp fileSetting = cpService.getOaWeDriveService().fileSetting(uId, fileId2, 2, 1);
log.info("分享设置返回结果为:{}", fileSetting.toJson());
/**
* 删除指定人
*/