From 0f72a06c14f99bd0c422a41661ef74689d77dc0b Mon Sep 17 00:00:00 2001 From: aaron <> Date: Thu, 12 Jun 2025 14:57:12 +0800 Subject: [PATCH] uipdate --- cryptoai/routes/payment.py | 6 ------ docker-compose.yml | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cryptoai/routes/payment.py b/cryptoai/routes/payment.py index 5cd28ac..25d10b1 100644 --- a/cryptoai/routes/payment.py +++ b/cryptoai/routes/payment.py @@ -40,12 +40,6 @@ async def pricing_info(): async def create_order(request: CreateOrderRequest, current_user: User = Depends(get_current_user), session: Session = Depends(get_db)): - - if current_user["id"] > 2: - return { - "code": 500, - "message": "暂时还没有开放订阅功能" - } upay = Upay() diff --git a/docker-compose.yml b/docker-compose.yml index e3b935a..cfb4411 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,7 +29,7 @@ services: cryptoai-api: build: . container_name: cryptoai-api - image: cryptoai-api:0.2.5 + image: cryptoai-api:0.2.6 restart: always ports: - "8000:8000"