Skip to content

Commit 2a9defc

Browse files
committed
Add the fucking param. w7corp#211
1 parent 7ab6050 commit 2a9defc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Js/Js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function ticket()
105105
return $this->getCache()->get(
106106
$key,
107107
function ($key) {
108-
$result = $this->parseJSON('get', [self::API_TICKET]);
108+
$result = $this->parseJSON('get', [self::API_TICKET, ['type' => 'jsapi']]);
109109

110110
$this->getCache()->set($key, $result['ticket'], $result['expires_in'] - 500);
111111

0 commit comments

Comments
 (0)