update
This commit is contained in:
parent
262a4e2fb0
commit
d8cafea86b
@ -248,6 +248,7 @@ async def chat(request: ChatRequest,
|
|||||||
)
|
)
|
||||||
|
|
||||||
# 扣除用户积分
|
# 扣除用户积分
|
||||||
|
if not is_member:
|
||||||
manager = UserManager(session)
|
manager = UserManager(session)
|
||||||
manager.consume_user_points(current_user["id"], 1)
|
manager.consume_user_points(current_user["id"], 1)
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@ services:
|
|||||||
cryptoai-api:
|
cryptoai-api:
|
||||||
build: .
|
build: .
|
||||||
container_name: cryptoai-api
|
container_name: cryptoai-api
|
||||||
image: cryptoai-api:0.2.14
|
image: cryptoai-api:0.2.15
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user