MCPcopy Create free account
hub / github.com/ZainCheung/netease-cloud / check

Function check

main.py:353–361  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

351检查api
352'''
353def check():
354 url = api + '?do=check'
355 respones = requests.get(url)
356 if respones.status_code == 200:
357 print('api测试正常')
358 logging.info('api测试正常')
359 else:
360 print('api测试异常')
361 logging.error('api测试异常')
362
363'''
364任务池

Callers 1

taskPoolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected