添加科技网通行证登录断点
This commit is contained in:
parent
b06f113df3
commit
6dbcd42b24
|
@ -130,13 +130,15 @@ class Client extends \Zend_Controller_Plugin_Abstract
|
|||
$client->param['callback'] => $client->config['callback'],
|
||||
$client->param['code'] => $code
|
||||
);
|
||||
|
||||
|
||||
$curl = new Curl();
|
||||
$curl->port = 443;
|
||||
$curl->initOptions(array('verifyssl'=>false));
|
||||
$data = $curl->request($main_url,$param,"POST");
|
||||
//$data = [];
|
||||
//$data['response'] = '{"expires_in":432000,"refresh_token":"d654e8778c66b4a5487fb5efeb134eb8","userInfo":"{\"passwordType\":\"password_umt\",\"cstnetIdStatus\":\"active\",\"umtId\":\"10247308\",\"truename\":\"鏉庡缓杞‐",\"cstnetId\":\"liujin834@live.com\",\"type\":\"umt\"}","access_token":"dc260d5b825cb3a422b23a5297c7174c"}';
|
||||
|
||||
var_dump($data);exit();
|
||||
var_dump($data['response']);exit();
|
||||
|
||||
$cache_data = json_decode($data['response'],true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue