更新项目配置:添加.gitignore,清理日志和缓存文件,更新应用代码
This commit is contained in:
@@ -45,9 +45,4 @@ def register_main_routes(app):
|
||||
return jsonify({'success': True, 'url': url})
|
||||
except Exception as e:
|
||||
return jsonify({'success': False, 'error': str(e)}), 400
|
||||
|
||||
@app.route('/api/login', methods=['POST'])
|
||||
def login():
|
||||
"""手动登录"""
|
||||
success = camera_manager.login()
|
||||
return jsonify({'success': success})
|
||||
|
||||
Reference in New Issue
Block a user