cjango/think-dingtalk

This package is abandoned and no longer maintained. No replacement package was suggested.

cjango dingtalk sdk for thinkphp

dev-master 2018-01-16 15:20 UTC

This package is auto-updated.

Last update: 2023-01-25 17:43:30 UTC


README

===============

Latest Stable Version Total Downloads Latest Unstable Version License

钉钉SDK For thinkphp5

该项目依赖于thinkphp5.0.*

安装

composer require cjango/think-dingtalk

配置

配置文件位于 application/extra/dingtalk.php

return [

];

使用方法

// 引用命名空间
use cjango\dingtalk\Dingtalk;

// 获取全部关注用户
Dingtalk::get('user')->all();

// 网页用户直接跳转授权
Dingtalk::get('oauth')->url($callback);

// 回调页面中直接调用
Dingtalk::get('oauth')->token();

// 获取错误信息
Dingtalk::error()