from flask import current_app as app
@api.route('/info/', methods = ['GET'])
def get_account_num():
num = app.config["INFO"]
关注公众号「Python之禅」,回复「1024」免费获取Python资源
from flask import current_app as app
@api.route('/info/', methods = ['GET'])
def get_account_num():
num = app.config["INFO"]
关注公众号「Python之禅」,回复「1024」免费获取Python资源