From 611cf4c96209e0acc527f1ea2285eea9a5a62ae0 Mon Sep 17 00:00:00 2001 From: freeziyou <80776877@qq.com> Date: Mon, 26 Feb 2024 18:23:43 +0800 Subject: [PATCH] add comment --- server/routes/user.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/routes/user.py b/server/routes/user.py index 0ed29e0a..471888cd 100644 --- a/server/routes/user.py +++ b/server/routes/user.py @@ -65,8 +65,9 @@ def set_account(): @bp.route("////image/", methods=["GET"]) def get_image(team_id, message_id, repo_id, img_key): """ - 1. 用 img_key 下载 image(cache) - 2. + 1. 用 img_key 请求飞书接口下载 image + 2. 判断请求来源,如果是 GitHub 调用,则直接返回 image + 3. 用户调用 校验权限 """ def download_and_respond():