quguofeng 1 年之前
父節點
當前提交
ca000d3dac
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      application/api/controller/Dingtalk.php

+ 0 - 1
application/api/controller/Dingtalk.php

@@ -12,7 +12,6 @@ class Dingtalk extends Base
         $req = new \OapiV2DepartmentListsubRequest;
         $resp = $c->execute($req, $this->get_obj()['access_token'], "https://oapi.dingtalk.com/topapi/v2/department/listsub");
         if(isset($resp->result) && $resp->result){
-            var_dump($resp->result);exit();
             foreach ($resp->result as $value){
                 $id = Db::name('department')->where('dept_id',$value->dept_id)->value('id');
                 if(empty($id)){