导出聊天记录报错:Array ( [error] => apiname is invalid )
function getChatRecord($ql){
if(!empty($ql)){
$url=$this->url.'chatmessages?ql='.$ql;
}else{
$url=$this->url.'chatmessages';
}
$header=array($this->getToken());
$result=$this->postCurl($url,'',$header,"GET");
return $result;
}
function get_ss(){
//环信
$options['client_id']=C('client_id');
$options['client_secret']=C('client_secret');
$options['org_name']=C('org_name');
$options['app_name']=C('app_name');
$h=new Easemob($options);
$ql="select * where timestamp > 1435536480000";
$send=$h->getChatRecord($ql);
return $send;
}
没有找到相关结果
已邀请:
1 个回复
[已注销]