Commit dc30b0e0 authored by ibuler's avatar ibuler

[Change] profile api添加 requirelogin

parent 8b37e3cb
...@@ -76,6 +76,7 @@ def checklogin(): ...@@ -76,6 +76,7 @@ def checklogin():
}) })
@login_required
@app.route('/api/userprofile') @app.route('/api/userprofile')
def profile(): def profile():
return jsonify({ return jsonify({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment