正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -259,6 +259,7 @@ class UserLoginLogic | @@ -259,6 +259,7 @@ class UserLoginLogic | ||
| 259 | }else{ | 259 | }else{ |
| 260 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export((int)$id, true) . PHP_EOL, FILE_APPEND); | 260 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export((int)$id, true) . PHP_EOL, FILE_APPEND); |
| 261 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($wechat, true) . PHP_EOL, FILE_APPEND); | 261 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($wechat, true) . PHP_EOL, FILE_APPEND); |
| 262 | + $id = (int)$id; | ||
| 262 | $rs = $this->model->edit(['wechat'=>$wechat],['id'=>(int)$id]); | 263 | $rs = $this->model->edit(['wechat'=>$wechat],['id'=>(int)$id]); |
| 263 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND); | 264 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND); |
| 264 | $data = [ | 265 | $data = [ |
-
请 注册 或 登录 后发表评论