注册

关于php调用环信聊天记录问题

报错“array(5) { ["error"]=> string(16) "illegal_argument" ["timestamp"]=> int(1516861479578) ["duration"]=> int(0) ["exception"]=> string(34) "java.lang.IllegalArgumentException" ["error_description"]=> string(41) "This chatmessage request is not supported" }”:
php相关代码如下
public function chatRecord() {
 $ql= "select+*+where+timestamp>1435536480000"; if(!empty($ql)){ $url=$this->url.'/chatmessages?ql='.$ql; }else{ $url=$this->url.'/chatmessages'; } $header=array($this->getToken()); // var_dump($header);die; $result=$this->postCurl($url,'',$header,"GET"); var_dump($result) ;
 }
哪里有问题呀ql参数拼接规则是什么?url路径规则呢?
 
已邀请:

要回复问题请先登录注册