_callServiceStatic('NoticeService', 'send', $content, $loop, $interval); //services\NoticeService::send($content, $loop, $interval); } catch (Exception $e){ error_log('testNotice:' . $e); } } public function testEvent() { myself()->_fireEvent('Battle', 'onSettlement', array( 'account_id' => 'xxx', 'id' => 'bbb', )); } public function testVip() { try { $addr = getReqVal('addr', ''); echo json_encode(myself()->_callServiceStatic('StakingVipService', 'getDetails', $addr)); } catch (Exception $e) { error_log('testVip:' . $e); } } }