handle(); } // 消息撤回 public function recallMessage($type) { if(!in_array($type,['TEAM','PERSON'])){ return; } switch ($type){ case 'TEAM': $client = new Team(); break; case 'PERSON': $client = new Person(); break; } $client->recall(); } }