Commit c5de4bbc c5de4bbce21f193f8d5ff14b9b10f4386c6687c8 by lemon

*

1 parent e244a64c
......@@ -206,7 +206,7 @@ class PropertyTrackService extends Service
{
$url = $this->request->input('url');
if (!$res = PropertyShare::withTrashed()->where(['share_url_hash'=>crc64($url), 'phone'=>$this->request->input('phone'), 'from'=>$this->request->input('from')])->where('expire_time', '>', $this->now)->first()) {
if (!$res = PropertyShare::withTrashed()->where(['share_url_hash'=>crc64($url), 'phone'=>$this->request->input('phone')])->where('expire_time', '>', $this->now)->first()) {
return Response::error(ErrorCode::URL_CHECK_FAIL);
}
if (!is_null($res->deleted_at)) return Response::error(ErrorCode::URL_CHECK_FAIL);
......