|
@@ -43,7 +43,7 @@ class User extends Api |
|
@@ -43,7 +43,7 @@ class User extends Api |
43
|
public function login()
|
43
|
public function login()
|
44
|
{
|
44
|
{
|
45
|
//接收传递信息
|
45
|
//接收传递信息
|
46
|
- $config = Config::get('wechat');
|
46
|
+ $config = Config::get('wxapp');
|
47
|
$encryptedData = $this->request->post('encryptedData');
|
47
|
$encryptedData = $this->request->post('encryptedData');
|
48
|
$iv = $this->request->post('iv');
|
48
|
$iv = $this->request->post('iv');
|
49
|
$code = $this->request->post('code');
|
49
|
$code = $this->request->post('code');
|