|
|
@@ -44,7 +44,7 @@ class AuthController extends PublicController
|
|
|
}
|
|
|
$stringSignTemp = rtrim($stringSignTemp, '&');
|
|
|
$sign = hash_hmac('sha256', $stringSignTemp, $secret);
|
|
|
- $url = Yii::$app->params['ghsUniCloudHost'] . "/getMobileNumber?sign=" . $sign . "&" . $stringSignTemp;
|
|
|
+ $url = Yii::$app->params['ghsUniCloudHost'] . "/getMobileNumber?access_token=".$access_token."&sign=" . $sign . "&" . $stringSignTemp;
|
|
|
$response = json_decode(file_get_contents($url), true);
|
|
|
Yii::info($url);
|
|
|
Yii::info(json_encode($response));
|