From c1d02e3cf2cc5de879553a71e09b1b39f535bd59 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Wed, 15 Jan 2025 23:10:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 2 +- app/models/user.py | 1 + requirements.txt | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) 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