@@ -48,12 +48,11 @@ public interface WxCpOaWeDriveService {
48
48
* 请求方式:POST(HTTPS)
49
49
* 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_dismiss?access_token=ACCESS_TOKEN">...</a>
50
50
*
51
- * @param userId the user id
52
51
* @param spaceId the space id
53
52
* @return wx cp base resp
54
53
* @throws WxErrorException the wx error exception
55
54
*/
56
- WxCpBaseResp spaceDismiss (@ NonNull String userId , @ NonNull String spaceId ) throws WxErrorException ;
55
+ WxCpBaseResp spaceDismiss (@ NonNull String spaceId ) throws WxErrorException ;
57
56
58
57
/**
59
58
* 获取空间信息
@@ -62,12 +61,11 @@ public interface WxCpOaWeDriveService {
62
61
* 请求方式:POST(HTTPS)
63
62
* 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_info?access_token=ACCESS_TOKEN">...</a>
64
63
*
65
- * @param userId the user id
66
64
* @param spaceId the space id
67
65
* @return wx cp space info
68
66
* @throws WxErrorException the wx error exception
69
67
*/
70
- WxCpSpaceInfo spaceInfo (@ NonNull String userId , @ NonNull String spaceId ) throws WxErrorException ;
68
+ WxCpSpaceInfo spaceInfo (@ NonNull String spaceId ) throws WxErrorException ;
71
69
72
70
/**
73
71
* 添加成员/部门
@@ -115,12 +113,11 @@ public interface WxCpOaWeDriveService {
115
113
* 请求方式:POST(HTTPS)
116
114
* 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_share?access_token=ACCESS_TOKEN">...</a>
117
115
*
118
- * @param userId the user id
119
116
* @param spaceId the space id
120
117
* @return wx cp space share
121
118
* @throws WxErrorException the wx error exception
122
119
*/
123
- WxCpSpaceShare spaceShare (@ NonNull String userId , @ NonNull String spaceId ) throws WxErrorException ;
120
+ WxCpSpaceShare spaceShare (@ NonNull String spaceId ) throws WxErrorException ;
124
121
125
122
/**
126
123
* 获取文件列表
@@ -155,18 +152,18 @@ public interface WxCpOaWeDriveService {
155
152
* 请求方式:POST(HTTPS)
156
153
* 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_download?access_token=ACCESS_TOKEN">...</a>
157
154
*
158
- * @param fileId 文件fileid(只支持下载普通文件,不支持下载文件夹或微文档)
155
+ * @param fileId 文件fileid(只支持下载普通文件,不支持下载文件夹或微文档)
159
156
* @param selectedTicket 微盘和文件选择器jsapi返回的selectedTicket。若填此参数,则不需要填fileid。
160
157
* @return {
161
- * "errcode": 0,
162
- * "errmsg": "ok",
163
- * "download_url": "DOWNLOAD_URL",
164
- * "cookie_name": "COOKIE_NAME",
165
- * "cookie_value": "COOKIE_VALUE"
158
+ * "errcode": 0,
159
+ * "errmsg": "ok",
160
+ * "download_url": "DOWNLOAD_URL",
161
+ * "cookie_name": "COOKIE_NAME",
162
+ * "cookie_value": "COOKIE_VALUE"
166
163
* }
167
164
* @throws WxErrorException the wx error exception
168
165
*/
169
- WxCpFileDownload fileDownload ( String fileId , String selectedTicket ) throws WxErrorException ;
166
+ WxCpFileDownload fileDownload (String fileId , String selectedTicket ) throws WxErrorException ;
170
167
171
168
/**
172
169
* 重命名文件
@@ -271,14 +268,13 @@ WxCpFileCreate fileCreate(@NonNull String spaceId, @NonNull String fatherId, @No
271
268
* 请求方式:POST(HTTPS)
272
269
* 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_setting?access_token=ACCESS_TOKEN">...</a>
273
270
*
274
- * @param userId the user id
275
271
* @param fileId the file id
276
272
* @param authScope the auth scope
277
273
* @param auth the auth
278
274
* @return wx cp base resp
279
275
* @throws WxErrorException the wx error exception
280
276
*/
281
- WxCpBaseResp fileSetting (@ NonNull String userId , @ NonNull String fileId , @ NonNull Integer authScope , Integer auth ) throws WxErrorException ;
277
+ WxCpBaseResp fileSetting (@ NonNull String fileId , @ NonNull Integer authScope , Integer auth ) throws WxErrorException ;
282
278
283
279
/**
284
280
* 获取分享链接
@@ -287,11 +283,10 @@ WxCpFileCreate fileCreate(@NonNull String spaceId, @NonNull String fatherId, @No
287
283
* 请求方式:POST(HTTPS)
288
284
* 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_share?access_token=ACCESS_TOKEN">...</a>
289
285
*
290
- * @param userId the user id
291
286
* @param fileId the file id
292
287
* @return wx cp file share
293
288
* @throws WxErrorException the wx error exception
294
289
*/
295
- WxCpFileShare fileShare (@ NonNull String userId , @ NonNull String fileId ) throws WxErrorException ;
290
+ WxCpFileShare fileShare (@ NonNull String fileId ) throws WxErrorException ;
296
291
297
292
}
0 commit comments