File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/OfficialAccount/JsSdk Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class JsTicket extends JsApiBase implements JsTicketInterface
2222 */
2323 function getTicket ($ refreshTimes = 1 ): ?string
2424 {
25- return $ this ->getJsApi ()-> getOfficialAccount ()->getConfig ()->getStorage ()->get ('jsapi_ticket ' );
25+ return $ this ->getOfficialAccount ()->getConfig ()->getStorage ()->get ('jsapi_ticket ' );
2626 }
2727
2828 /**
@@ -33,8 +33,8 @@ function getTicket($refreshTimes = 1): ?string
3333 */
3434 function refreshTicket (): ?string
3535 {
36- $ officialAccountConfig = $ this ->getJsApi ()-> getOfficialAccount ()->getConfig ();
37- $ accessToken = $ this ->getJsApi ()-> getOfficialAccount ()->accessToken ()->getToken ();
36+ $ officialAccountConfig = $ this ->getOfficialAccount ()->getConfig ();
37+ $ accessToken = $ this ->getOfficialAccount ()->accessToken ()->getToken ();
3838 $ response = NetWork::getForJson (ApiUrl::generateURL (ApiUrl::JSAPI_GET_TICKET , [
3939 'ACCESS_TOKEN ' => $ accessToken ,
4040 ]));
You can’t perform that action at this time.
0 commit comments