import urllib2 def main(): Log("开始检查@") while True: try: urllib2.urlopen("https://quant.la/API/Argus/predict", timeout=15) Log("服务正常") except: Log(_D()," 服务异常@") Sleep(10*60*1000)template: strategy.tpl:40:21: executing "strategy.tpl" at <.api.GetStrategyListByName>: wrong number of args for GetStrategyListByName: want 7 got 6