摘要:
from config import app, db from model import User import flask_bcrypt @app.route("/") def hello_world(): return "hello flask!" # 添加用户 @app.route("/use 阅读全文
posted @ 2024-03-22 16:05
子线
阅读(30)
评论(0)
推荐(0)
摘要:
按照平常的使用习惯的,主程序,配置文件,数据模块都是拆分开。 from config import app @app.route("/") def hello_world(): return "hello flask!" if __name__ == "__main__": app.run(host 阅读全文
posted @ 2024-03-22 11:36
子线
阅读(43)
评论(0)
推荐(0)
浙公网安备 33010602011771号