2022-06-08 21e07669a1cefa55ae914cc338171380 99+ fast 0.1 k0 visitsflaskpython web应用框架,后端 编写逻辑 123456789101112from flask import Flask, request, jsonify##创建应用app1 = Flask(__name__)###绑定函数@app1.route('URL rule', methods=['post'])def process_element_data(): return##启动应用app1.run(....) 执行逻辑1 启动应用2 前端发送请求3 根据URL rule找函数,返回结果给前端 flaskhttp://example.com/2022/06/08/flask/AuthorLavine HuPosted on2022-06-08Updated on2022-06-08Licensed under