message
This commit is contained in:
parent
faa9c142ca
commit
f069d47bce
|
@ -16,7 +16,7 @@ class Miniprogram
|
||||||
$this->work = $work;
|
$this->work = $work;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function code2Session($code,$type = 'authorization_code')
|
public function code2Session($code, $type = 'authorization_code')
|
||||||
{
|
{
|
||||||
$request = $this->work->transformForGetRequest('miniprogram/jscode2session', [
|
$request = $this->work->transformForGetRequest('miniprogram/jscode2session', [
|
||||||
'js_code' => $code,
|
'js_code' => $code,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user