uipdate
This commit is contained in:
parent
802320ff44
commit
0f72a06c14
@ -40,12 +40,6 @@ async def pricing_info():
|
|||||||
async def create_order(request: CreateOrderRequest,
|
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()
|
||||||
|
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user