@@ -48,12 +48,11 @@ public interface WxCpOaWeDriveService {
4848 * 请求方式:POST(HTTPS)
4949 * 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_dismiss?access_token=ACCESS_TOKEN">...</a>
5050 *
51- * @param userId the user id
5251 * @param spaceId the space id
5352 * @return wx cp base resp
5453 * @throws WxErrorException the wx error exception
5554 */
56- WxCpBaseResp spaceDismiss (@ NonNull String userId , @ NonNull String spaceId ) throws WxErrorException ;
55+ WxCpBaseResp spaceDismiss (@ NonNull String spaceId ) throws WxErrorException ;
5756
5857 /**
5958 * 获取空间信息
@@ -62,12 +61,11 @@ public interface WxCpOaWeDriveService {
6261 * 请求方式:POST(HTTPS)
6362 * 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_info?access_token=ACCESS_TOKEN">...</a>
6463 *
65- * @param userId the user id
6664 * @param spaceId the space id
6765 * @return wx cp space info
6866 * @throws WxErrorException the wx error exception
6967 */
70- WxCpSpaceInfo spaceInfo (@ NonNull String userId , @ NonNull String spaceId ) throws WxErrorException ;
68+ WxCpSpaceInfo spaceInfo (@ NonNull String spaceId ) throws WxErrorException ;
7169
7270 /**
7371 * 添加成员/部门
@@ -115,12 +113,11 @@ public interface WxCpOaWeDriveService {
115113 * 请求方式:POST(HTTPS)
116114 * 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_share?access_token=ACCESS_TOKEN">...</a>
117115 *
118- * @param userId the user id
119116 * @param spaceId the space id
120117 * @return wx cp space share
121118 * @throws WxErrorException the wx error exception
122119 */
123- WxCpSpaceShare spaceShare (@ NonNull String userId , @ NonNull String spaceId ) throws WxErrorException ;
120+ WxCpSpaceShare spaceShare (@ NonNull String spaceId ) throws WxErrorException ;
124121
125122 /**
126123 * 获取文件列表
@@ -155,18 +152,18 @@ public interface WxCpOaWeDriveService {
155152 * 请求方式:POST(HTTPS)
156153 * 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_download?access_token=ACCESS_TOKEN">...</a>
157154 *
158- * @param fileId 文件fileid(只支持下载普通文件,不支持下载文件夹或微文档)
155+ * @param fileId 文件fileid(只支持下载普通文件,不支持下载文件夹或微文档)
159156 * @param selectedTicket 微盘和文件选择器jsapi返回的selectedTicket。若填此参数,则不需要填fileid。
160157 * @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"
166163 * }
167164 * @throws WxErrorException the wx error exception
168165 */
169- WxCpFileDownload fileDownload ( String fileId , String selectedTicket ) throws WxErrorException ;
166+ WxCpFileDownload fileDownload (String fileId , String selectedTicket ) throws WxErrorException ;
170167
171168 /**
172169 * 重命名文件
@@ -271,14 +268,13 @@ WxCpFileCreate fileCreate(@NonNull String spaceId, @NonNull String fatherId, @No
271268 * 请求方式:POST(HTTPS)
272269 * 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_setting?access_token=ACCESS_TOKEN">...</a>
273270 *
274- * @param userId the user id
275271 * @param fileId the file id
276272 * @param authScope the auth scope
277273 * @param auth the auth
278274 * @return wx cp base resp
279275 * @throws WxErrorException the wx error exception
280276 */
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 ;
282278
283279 /**
284280 * 获取分享链接
@@ -287,11 +283,10 @@ WxCpFileCreate fileCreate(@NonNull String spaceId, @NonNull String fatherId, @No
287283 * 请求方式:POST(HTTPS)
288284 * 请求地址: <a href="https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_share?access_token=ACCESS_TOKEN">...</a>
289285 *
290- * @param userId the user id
291286 * @param fileId the file id
292287 * @return wx cp file share
293288 * @throws WxErrorException the wx error exception
294289 */
295- WxCpFileShare fileShare (@ NonNull String userId , @ NonNull String fileId ) throws WxErrorException ;
290+ WxCpFileShare fileShare (@ NonNull String fileId ) throws WxErrorException ;
296291
297292}
0 commit comments