From ff57ace362af07655f54eea90c4d2f63b05f5b66 Mon Sep 17 00:00:00 2001 From: Andru <769883346@qq.com> Date: 星期五, 27 十月 2023 15:59:51 +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