钉钉api工具
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist hzted123/dingtalk "*"
or add
"hzted123/dingtalk": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
Add the following in your console config:
return [
...
'components' => [
...
'dingtalk' => [
'class' => 'hzted123\dingtalk\DingDingAPI',
],
]
];
Get Department list:
$data = Department::query();