quguofeng il y a 1 an
Parent
commit
2f37a8222a
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      application/api/controller/Login.php

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

@@ -35,6 +35,7 @@ class Login extends Base
     public function get_department(){
         $c = $this->get_obj()['obj'];
         $req = new \OapiV2DepartmentListsubRequest;
+        $req->setDeptId("537635109");
         $resp = $c->execute($req, $this->get_obj()['access_token'], "https://oapi.dingtalk.com/topapi/v2/department/listsub");
         if(isset($resp->result) && $resp->result){
             foreach ($resp->result as $value){