|
|
@@ -101,7 +101,7 @@ class DingService extends Service
|
|
|
$respDetail = $this->curlOpen1($urlDetail, [
|
|
|
'request' => 'post',
|
|
|
'header' => ["Content-Type: application/json"],
|
|
|
- 'json' => ["userid" => $user['userId']]
|
|
|
+ 'json' => ["userid" => $user['userid']]
|
|
|
]);
|
|
|
$detail = json_decode($respDetail, true);
|
|
|
|
|
|
@@ -132,7 +132,7 @@ class DingService extends Service
|
|
|
if (!$success) return [false, $tokenData];
|
|
|
$accessToken = $tokenData['access_token'];
|
|
|
|
|
|
- $userId = $user['userId'];
|
|
|
+ $userId = $user['userid'];
|
|
|
[$success, $userDetail] = $this->getManDetail($user, $accessToken);
|
|
|
if(!$success) return [false, $userDetail];
|
|
|
|