/**
-
function get_online_kf_list($i=0){
$url = "https://api.weixin.qq.com/cgi-bin/customservice/getonlinekflist?access_token=". $this->access_token; $res = $this->https_request($url); $data = json_decode($res, true); //返回{ "errcode": -1, "errmsg": "system error" } 系统繁忙,求指点。 log_message('error', var_export($data, true), 'weixin-duokefu'); if(isset($data['errcode'])&&$data['errcode']=='40001'){ $i++; $this->getAccessToken(); return $i<3?$this->get_online_kf_list($i):$data; } return $data;}