From 6fb44f4051509f66cc887d18469e2947e3702c11 Mon Sep 17 00:00:00 2001 From: guang <guang@guang.com> Date: 星期二, 01 八月 2023 15:13:20 +0800 Subject: [PATCH] 增加企业微盘操作工具类 --- src/main/java/com/hx/api/CorpMpSpaceApi.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/hx/api/CorpMpSpaceApi.java b/src/main/java/com/hx/api/CorpMpSpaceApi.java index 470671d..fa97f08 100644 --- a/src/main/java/com/hx/api/CorpMpSpaceApi.java +++ b/src/main/java/com/hx/api/CorpMpSpaceApi.java @@ -179,4 +179,18 @@ } ) JSONObject fileDelete(@DataVariable("accessToken") String accessToken, @JSONBody String param); + + /** + * 鑾峰彇涓嬭浇璺緞 + * @param accessToken + * @param param + * @return + */ + @Post( + url = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_download?access_token=${accessToken}", + headers = { + "Content-Type: application/json" + } + ) + JSONObject getDownloadUrl(@DataVariable("accessToken") String accessToken, @JSONBody String param); } -- Gitblit v1.8.0