Commit 3f4da3fe authored by lcn's avatar lcn

bug修复

parent c277db74
...@@ -89,7 +89,7 @@ async def search_scope_service(prod_id, cid, pid, sid, page_num, page_size, ...@@ -89,7 +89,7 @@ async def search_scope_service(prod_id, cid, pid, sid, page_num, page_size,
break break
else: else:
point = [] point = []
doc_id = info["id"] doc_id = str(info["id"])
alarm = Alarm(check_dt=check_dt, prod_id=company.get("product"), alarm = Alarm(check_dt=check_dt, prod_id=company.get("product"),
product=config.PRODUCT[company.get("product")], product=config.PRODUCT[company.get("product")],
cid=cid, shortname=company.get("shortname"), cid=cid, shortname=company.get("shortname"),
......
...@@ -20,7 +20,7 @@ async def post_search_scope(req, body: SearchScopeRep) -> SearchScopeResq: ...@@ -20,7 +20,7 @@ async def post_search_scope(req, body: SearchScopeRep) -> SearchScopeResq:
@summary('录波查询-详情') @summary('录波查询-详情')
async def post_scope_detai1(req, body: ScopeDetailRep) -> SearchScopeResq: async def post_scope_detail(req, body: ScopeDetailRep) -> SearchScopeResq:
id = body.id id = body.id
wave_range = body.wave_range wave_range = body.wave_range
return await scope_detail_service(id, wave_range) return await scope_detail_service(id, wave_range)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment