*
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -206,7 +206,7 @@ class PropertyTrackService extends Service | ... | @@ -206,7 +206,7 @@ class PropertyTrackService extends Service |
206 | { | 206 | { |
207 | $url = $this->request->input('url'); | 207 | $url = $this->request->input('url'); |
208 | 208 | ||
209 | 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()) { | 209 | if (!$res = PropertyShare::withTrashed()->where(['share_url_hash'=>crc64($url), 'phone'=>$this->request->input('phone')])->where('expire_time', '>', $this->now)->first()) { |
210 | return Response::error(ErrorCode::URL_CHECK_FAIL); | 210 | return Response::error(ErrorCode::URL_CHECK_FAIL); |
211 | } | 211 | } |
212 | if (!is_null($res->deleted_at)) return Response::error(ErrorCode::URL_CHECK_FAIL); | 212 | if (!is_null($res->deleted_at)) return Response::error(ErrorCode::URL_CHECK_FAIL); | ... | ... |
-
Please register or sign in to post a comment