""" 启动脚本 """ import uvicorn from app.core.config import settings from app.main import app if __name__ == "__main__": uvicorn.run( "app.main:app", host=settings.server.HOST, port=settings.server.PORT, reload=True, log_level=settings.server.LOG_LEVEL )