更新
This commit is contained in:
parent
e1a01906f8
commit
c1d02e3cf2
@ -12,7 +12,7 @@ from app.middleware.request_logger import RequestLoggerMiddleware
|
|||||||
Base.metadata.create_all(bind=engine)
|
Base.metadata.create_all(bind=engine)
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="闪兔到家",
|
title="Beefast 蜂快到家",
|
||||||
description="API 文档",
|
description="API 文档",
|
||||||
version="1.0.0"
|
version="1.0.0"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -12,6 +12,7 @@ import string
|
|||||||
class UserRole(str, enum.Enum):
|
class UserRole(str, enum.Enum):
|
||||||
USER = "user"
|
USER = "user"
|
||||||
DELIVERYMAN = "deliveryman"
|
DELIVERYMAN = "deliveryman"
|
||||||
|
MERCHANT = "merchant"
|
||||||
ADMIN = "admin"
|
ADMIN = "admin"
|
||||||
|
|
||||||
class Gender(str, enum.Enum):
|
class Gender(str, enum.Enum):
|
||||||
|
|||||||
@ -11,4 +11,5 @@ pymysql==1.1.0
|
|||||||
SQLAlchemy==2.0.27
|
SQLAlchemy==2.0.27
|
||||||
unisms
|
unisms
|
||||||
cos-python-sdk-v5==1.9.25
|
cos-python-sdk-v5==1.9.25
|
||||||
bcrypt
|
bcrypt
|
||||||
|
aiohttp==3.9.1
|
||||||
Loading…
Reference in New Issue
Block a user