diff --git a/app/main.py b/app/main.py index 6584485..21e09bc 100644 --- a/app/main.py +++ b/app/main.py @@ -12,7 +12,7 @@ from app.middleware.request_logger import RequestLoggerMiddleware Base.metadata.create_all(bind=engine) app = FastAPI( - title="闪兔到家", + title="Beefast 蜂快到家", description="API 文档", version="1.0.0" ) diff --git a/app/models/user.py b/app/models/user.py index a743c2d..f35e235 100644 --- a/app/models/user.py +++ b/app/models/user.py @@ -12,6 +12,7 @@ import string class UserRole(str, enum.Enum): USER = "user" DELIVERYMAN = "deliveryman" + MERCHANT = "merchant" ADMIN = "admin" class Gender(str, enum.Enum): diff --git a/requirements.txt b/requirements.txt index 4967f36..981a9f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,4 +11,5 @@ pymysql==1.1.0 SQLAlchemy==2.0.27 unisms cos-python-sdk-v5==1.9.25 -bcrypt \ No newline at end of file +bcrypt +aiohttp==3.9.1 \ No newline at end of file