소스 검색

Wesmiler 校企小程序源代码部署

wesmiler 4 년 전
부모
커밋
28d0d2be7a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/api/controller/Passport.php

+ 1 - 0
app/api/controller/Passport.php

@@ -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());
         }
         }