|
@@ -80,6 +80,7 @@ class Login extends Base
|
|
|
$req->setSize("100");
|
|
|
$resp = $c->execute($req, $this->get_obj()['access_token'], "https://oapi.dingtalk.com/topapi/v2/user/list");
|
|
|
if(isset($resp->result) && $resp->result && $resp->result->list){
|
|
|
+ var_dump($resp->result->list);exit();
|
|
|
foreach ($resp->result->list as $value){
|
|
|
var_dump($value);exit();
|
|
|
$id = Db::name('department')->where('dept_id',$value->dept_id)->value('id');
|