作者 lyh

gx

@@ -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 = [