添加降雨量与持续时间接口
This commit is contained in:
@@ -134,7 +134,7 @@ async def predict_earthquake(req: EarthquakePredictRequest):
|
||||
"point_ids": req.point_ids,
|
||||
"region_code": req.region_code,
|
||||
"magnitude": req.magnitude,
|
||||
"depth": req.depth, # 已有默认值 10.0
|
||||
"depth": req.depth,
|
||||
"epicenter_lon": req.epicenter_lon,
|
||||
"epicenter_lat": req.epicenter_lat,
|
||||
"occurred_time": occurred_time.isoformat() if hasattr(occurred_time, 'isoformat') else str(occurred_time)
|
||||
|
||||
Reference in New Issue
Block a user