This commit is contained in:
2023-11-23 23:37:44 +08:00
parent e497407d0b
commit 32daca4458

View File

@@ -163,7 +163,7 @@ def ruilaizi(filename):
})
# 下载文件服务
@app.route("/member/download/<filename>", methods=['GET'])
@route_api.route("/member/download/<filename>", methods=['GET'])
def download(filename):
if request.method == "GET":
if os.path.isfile(os.path.join('static', filename)):