Commit c85fd1d9 authored by 梁俊杰's avatar 梁俊杰

1

parent 2c64d6cd
......@@ -39,6 +39,6 @@ $req->setAppsecret($config['app_secret']);
/*$req->setCorpid($config['corp_id']);
$req->setCorpsecret($config['corp_secret']);*/
$res = $c->execute($req,null,'https://oapi.dingtalk.com/gettoken');
$token = $res->access_token;
//$resp=$c->execute($req, $accessToken,"https://oapi.dingtalk.com/user/get");
var_dump($res);
var_dump($token);
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