@@ -55,7 +55,7 @@ |
||
| 55 | 55 | */ |
| 56 | 56 | protected function getCacheKey(): string |
| 57 | 57 | { |
| 58 | - return 'easywechat.open_work.suite_ticket.' . $this->app['config']['corp_id']; |
|
| 58 | + return 'easywechat.open_work.suite_ticket.'.$this->app['config']['corp_id']; |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | } |
| 62 | 62 | \ No newline at end of file |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | */ |
| 71 | 71 | public function getEndpoint(): string |
| 72 | 72 | { |
| 73 | - return 'cgi-bin/service/get_corp_token?' . http_build_query([ |
|
| 73 | + return 'cgi-bin/service/get_corp_token?'.http_build_query([ |
|
| 74 | 74 | 'suite_access_token' => $this->component['suite_access_token']->getToken()['suite_access_token'], |
| 75 | 75 | ]); |
| 76 | 76 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | 'pre_auth_code' => $this->getPreAuthCode()['pre_auth_code'], |
| 46 | 46 | 'state' => $state || rand(), |
| 47 | 47 | ]; |
| 48 | - return 'https://open.work.weixin.qq.com/3rdapp/install?' . http_build_query($params); |
|
| 48 | + return 'https://open.work.weixin.qq.com/3rdapp/install?'.http_build_query($params); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | 'scope' => $scope, |
| 151 | 151 | 'state' => $state || rand(), |
| 152 | 152 | ]; |
| 153 | - return 'https://open.weixin.qq.com/connect/oauth2/authorize?' . http_build_query($params) . '#wechat_redirect'; |
|
| 153 | + return 'https://open.weixin.qq.com/connect/oauth2/authorize?'.http_build_query($params).'#wechat_redirect'; |
|
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | /** |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | 'usertype' => $userType, |
| 50 | 50 | 'state' => $state || rand() |
| 51 | 51 | ]; |
| 52 | - return 'https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?' . http_build_query($params); |
|
| 52 | + return 'https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?'.http_build_query($params); |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | public function getRegisterUri($registerCode) |
| 81 | 81 | { |
| 82 | 82 | $params = ['register_code' => $registerCode]; |
| 83 | - return 'https://open.work.weixin.qq.com/3rdservice/wework/register?' . http_build_query($params); |
|
| 83 | + return 'https://open.work.weixin.qq.com/3rdservice/wework/register?'.http_build_query($params); |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | |
@@ -181,6 +181,6 @@ discard block |
||
| 181 | 181 | public function contactSyncSuccess(string $accessToken) |
| 182 | 182 | { |
| 183 | 183 | $params = ['access_token' => $accessToken]; |
| 184 | - return $this->httpGet('cgi-bin/sync/contact_sync_success',$params); |
|
| 184 | + return $this->httpGet('cgi-bin/sync/contact_sync_success', $params); |
|
| 185 | 185 | } |
| 186 | 186 | } |