Commit 2c64d6cd authored by 梁俊杰's avatar 梁俊杰

1

parent ad2ce4a3
......@@ -35,7 +35,7 @@ $config = [
$c = new DingTalkClient(DingTalkConstant::$CALL_TYPE_OAPI, DingTalkConstant::$METHOD_GET , DingTalkConstant::$FORMAT_JSON);
$req = new OapiGettokenRequest();
$req->setAppkey($config['app_key']);
$req->setAppsecret($config['app_key']);
$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');
......
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