def create_app(env_name):
    if (not (env_name in conf.keys())):
        raise Exception('您的环境名有问题')
    app = Flask(__name__)
    app.config.from_object(conf.get(env_name))
    init_ext(app)
    init_blue(app)
    return app
def create_app(env_name):
    if (not (env_name in conf.keys())):
        raise Exception('您的环境名有问题')
    app = Flask(__name__)
    app.config.from_object(conf.get(env_name))
    init_ext(app)
    init_blue(app)
    return app