aa
This commit is contained in:
@@ -163,6 +163,14 @@ def ruilaizi():
|
|||||||
'msg': '找不到指定版本的安装包'
|
'msg': '找不到指定版本的安装包'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# 下载文件服务
|
||||||
|
@app.route("/member/download/<filename>", methods=['GET'])
|
||||||
|
def download(filename):
|
||||||
|
if request.method == "GET":
|
||||||
|
if os.path.isfile(os.path.join('static', filename)):
|
||||||
|
return send_from_directory('static', filename, as_attachment=True)
|
||||||
|
abort(404)
|
||||||
|
|
||||||
@route_api.route("/member/ruilaizitest",methods = [ "GET","POST" ])
|
@route_api.route("/member/ruilaizitest",methods = [ "GET","POST" ])
|
||||||
def ruilaizitest():
|
def ruilaizitest():
|
||||||
resp = {'code': 200, 'msg': 'r操作成功~', 'data': {}}
|
resp = {'code': 200, 'msg': 'r操作成功~', 'data': {}}
|
||||||
|
|||||||
BIN
web/static/app.apk
Normal file
BIN
web/static/app.apk
Normal file
Binary file not shown.
Reference in New Issue
Block a user