This commit is contained in:
aaron 2025-05-13 23:58:30 +08:00
parent 95d9548bb9
commit a423e729b9
2 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,8 @@ async def get_stock_data(stock_code: str):
logger.error(f"获取股票数据失败: {e}")
return {}
return result
@router.get("/stock/data/all", summary="获取所有股票数据")
async def get_stock_data_all(stock_code: str):

View File

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