This commit is contained in:
aaron 2025-06-12 14:57:12 +08:00
parent 802320ff44
commit 0f72a06c14
2 changed files with 1 additions and 7 deletions

View File

@ -41,12 +41,6 @@ async def create_order(request: CreateOrderRequest,
current_user: User = Depends(get_current_user), current_user: User = Depends(get_current_user),
session: Session = Depends(get_db)): session: Session = Depends(get_db)):
if current_user["id"] > 2:
return {
"code": 500,
"message": "暂时还没有开放订阅功能"
}
upay = Upay() upay = Upay()
# 生成唯一的商户订单号 # 生成唯一的商户订单号

View File

@ -29,7 +29,7 @@ services:
cryptoai-api: cryptoai-api:
build: . build: .
container_name: cryptoai-api container_name: cryptoai-api
image: cryptoai-api:0.2.5 image: cryptoai-api:0.2.6
restart: always restart: always
ports: ports:
- "8000:8000" - "8000:8000"