diff --git a/src/Wechat/Work/Miniprogram.php b/src/Wechat/Work/Miniprogram.php index be7a6e4..cf90002 100644 --- a/src/Wechat/Work/Miniprogram.php +++ b/src/Wechat/Work/Miniprogram.php @@ -16,7 +16,7 @@ class Miniprogram $this->work = $work; } - public function code2Session($code,$type = 'authorization_code') + public function code2Session($code, $type = 'authorization_code') { $request = $this->work->transformForGetRequest('miniprogram/jscode2session', [ 'js_code' => $code,