2021年5月6日
摘要: from flask import Flask, current_app""" 如果要使用flask的核心对象的话就要导入这个current_app a = current_app 此时current_app的类型是localproxy类型 flask里面有两个上下文,分别是,应用上下文和请求上下文 阅读全文
posted @ 2021-05-06 16:41 Michael0931 阅读(338) 评论(0) 推荐(0)