|
@@ -61,6 +61,7 @@ class Passport extends Controller
|
|
|
// 微信小程序一键登录
|
|
// 微信小程序一键登录
|
|
|
$LoginService = new LoginService;
|
|
$LoginService = new LoginService;
|
|
|
$params = $this->postForm()? $this->postForm() : $this->request->param();
|
|
$params = $this->postForm()? $this->postForm() : $this->request->param();
|
|
|
|
|
+ var_dump($params);
|
|
|
if (!$LoginService->loginMpWx($params)) {
|
|
if (!$LoginService->loginMpWx($params)) {
|
|
|
return $this->renderError($LoginService->getError());
|
|
return $this->renderError($LoginService->getError());
|
|
|
}
|
|
}
|