We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97e0451 commit f786112Copy full SHA for f786112
2 files changed
README.md
@@ -64,6 +64,7 @@ if ($accessToken == '') {
64
echo 'accessToken:' . $accessToken . '<br>';
65
}
66
67
+// 解密登录用户数据
68
$paramArr['code'] = '';
69
$paramArr['rawData'] = '';
70
$paramArr['signature'] = '';
src/MiniProgram.php
@@ -23,7 +23,7 @@ class MiniProgram
23
* @param $appId
24
* @param $appSecret
25
*/
26
- public function __construct($appId, $appSecret, $accessToken)
+ public function __construct($appId, $appSecret, $accessToken = '')
27
{
28
$this->appId = $appId;
29
$this->appSecret = $appSecret;
0 commit comments