Commit 94bc9739 authored by zhangkuanguang's avatar zhangkuanguang

token

parent 2b64b29c
......@@ -55,7 +55,7 @@ class zsb_api_model extends MY_Model{
public function getRequrstData($key,$param = array()){
$url = $this->getApiFullUrl($key);
$token = $this->getToken();
$aHeader = array('ltoken:'.$token);
$aHeader = array('token:'.$token);
$response = $this->httpRequest($url,$aHeader,$param);
$response = json_decode($response,true);
return $response;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment