作者 lyh

gx

@@ -257,7 +257,7 @@ class UserLoginLogic @@ -257,7 +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 + @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 $rs = $this->model->edit(['wechat'=>$wechat],['id'=>(int)$id]); 262 $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); 263 @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND);