作者 lyh

gx

@@ -257,6 +257,7 @@ class UserLoginLogic @@ -257,6 +257,7 @@ class UserLoginLogic
257 'message'=>'当前微信已绑定其他微信,请解绑后再操作', 257 'message'=>'当前微信已绑定其他微信,请解绑后再操作',
258 ]; 258 ];
259 }else{ 259 }else{
  260 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($id, true) . PHP_EOL, FILE_APPEND);
260 $rs = $this->model->edit(['wechat'=>$wechat],['id'=>(int)$id]); 261 $rs = $this->model->edit(['wechat'=>$wechat],['id'=>(int)$id]);
261 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND); 262 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND);
262 $data = [ 263 $data = [