From 29c36380f636c0ae22d668c856c03a543bcca1c8 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期一, 23 十月 2023 19:25:23 +0800 Subject: [PATCH] 捕获异常判断2007 --- 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