update
This commit is contained in:
parent
95d9548bb9
commit
a423e729b9
@ -62,6 +62,8 @@ async def get_stock_data(stock_code: str):
|
|||||||
logger.error(f"获取股票数据失败: {e}")
|
logger.error(f"获取股票数据失败: {e}")
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
return result
|
||||||
|
|
||||||
|
|
||||||
@router.get("/stock/data/all", summary="获取所有股票数据")
|
@router.get("/stock/data/all", summary="获取所有股票数据")
|
||||||
async def get_stock_data_all(stock_code: str):
|
async def get_stock_data_all(stock_code: str):
|
||||||
|
|||||||
@ -29,7 +29,7 @@ services:
|
|||||||
cryptoai-api:
|
cryptoai-api:
|
||||||
build: .
|
build: .
|
||||||
container_name: cryptoai-api
|
container_name: cryptoai-api
|
||||||
image: cryptoai-api:0.0.19
|
image: cryptoai-api:0.0.20
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user