|
@@ -56,7 +56,7 @@ class Login extends Base
|
|
|
public function get_son_department(){
|
|
|
$c = $this->get_obj()['obj'];
|
|
|
$req = new \OapiV2DepartmentListsubRequest;
|
|
|
- $req->setDeptId("537635109");
|
|
|
+ $req->setDeptId("537635112");
|
|
|
$resp = $c->execute($req, $this->get_obj()['access_token'], "https://oapi.dingtalk.com/topapi/v2/department/listsubid");
|
|
|
if(isset($resp->result) && $resp->result){
|
|
|
var_dump($resp->result);exit();
|