getToken((int) $this->uid)); } public function get_support_info($uidTo = 0, $limit = 10, $toUid = 0) { $uid = $this->uid; try { $result = (new KefuChatService)->getUserSupportInfo($uidTo, $limit, $toUid, $uid,0); $result['myUid'] = $uid; } catch (\Exception $e) { return JsonService::fail($e->getMessage()); } return JsonService::successful($result); } }