This commit is contained in:
aaron 2025-06-13 17:36:22 +08:00
parent 262a4e2fb0
commit d8cafea86b
2 changed files with 4 additions and 3 deletions

View File

@ -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)

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.14 image: cryptoai-api:0.2.15
restart: always restart: always
ports: ports:
- "8000:8000" - "8000:8000"