Commit d4a12bdc authored by TesterYao's avatar TesterYao

增加流量线测试群提醒

parent 93f76909
import requests
URL = 'https://engine.tuia.cn/apollo/getIdMapStrByKeyStr?keyStr=onlin.watch.list'
def get_watcher_list(business):
try:
r = requests.get(url=URL)
if r.ok:
print(r.json())
return r.json().get(business)
else:
get_watcher_list('cx')
except:
get_watcher_list('cx')
This diff is collapsed.
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