正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -248,6 +248,7 @@ class LoginController extends BaseController | @@ -248,6 +248,7 @@ class LoginController extends BaseController | ||
| 248 | public function setWechat($wechat,$eventKey){ | 248 | public function setWechat($wechat,$eventKey){ |
| 249 | $userLoginLogic = new UserLoginLogic(); | 249 | $userLoginLogic = new UserLoginLogic(); |
| 250 | $key = explode("_",$eventKey); | 250 | $key = explode("_",$eventKey); |
| 251 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($key, true) . PHP_EOL, FILE_APPEND); | ||
| 251 | if($key[1] == 'login'){ | 252 | if($key[1] == 'login'){ |
| 252 | $data = $userLoginLogic->wechatLogin($wechat); | 253 | $data = $userLoginLogic->wechatLogin($wechat); |
| 253 | }else{ | 254 | }else{ |
-
请 注册 或 登录 后发表评论