@@ -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 |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | 'usertype' => $usertype, |
34 | 34 | 'state' => $state || rand() |
35 | 35 | ]; |
36 | - return 'https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?' . http_build_query($params); |
|
36 | + return 'https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?'.http_build_query($params); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | public function getRegisterUri($register_code) |
60 | 60 | { |
61 | 61 | $params = ['register_code' => $register_code]; |
62 | - return 'https://open.work.weixin.qq.com/3rdservice/wework/register?' . http_build_query($params); |
|
62 | + return 'https://open.work.weixin.qq.com/3rdservice/wework/register?'.http_build_query($params); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 |
@@ -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 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | 'pre_auth_code' => $this->getPreAuthCode()['pre_auth_code'], |
47 | 47 | 'state' => $state || rand() |
48 | 48 | ]; |
49 | - return 'https://open.work.weixin.qq.com/3rdapp/install?' . http_build_query($params); |
|
49 | + return 'https://open.work.weixin.qq.com/3rdapp/install?'.http_build_query($params); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | 'scope' => $scope, |
150 | 150 | 'state' => $state || rand() |
151 | 151 | ]; |
152 | - return 'https://open.weixin.qq.com/connect/oauth2/authorize?' . http_build_query($params) . '#wechat_redirect'; |
|
152 | + return 'https://open.weixin.qq.com/connect/oauth2/authorize?'.http_build_query($params).'#wechat_redirect'; |
|
153 | 153 | } |
154 | 154 | |
155 | 155 | /** |