完成管理端代码
This commit is contained in:
@@ -39,7 +39,15 @@ def login():
|
||||
|
||||
@app.route('/logout')
|
||||
def logout():
|
||||
return func.index.logout()
|
||||
return func.login.logout()
|
||||
|
||||
@app.route("/delete_flight", methods=['DELETE'])
|
||||
def delete_flight():
|
||||
return func.index.delete_flight()
|
||||
|
||||
@app.route("/upload_csv", methods=['POST'])
|
||||
def upload_csv():
|
||||
return func.index.upload_csv()
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(
|
||||
|
||||
Reference in New Issue
Block a user