Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
c5de4bbc
...
c5de4bbce21f193f8d5ff14b9b10f4386c6687c8
authored
2022-12-15 15:53:19 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
e244a64c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Services/PropertyTrackService.php
app/Services/PropertyTrackService.php
View file @
c5de4bb
...
...
@@ -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
);
...
...
Please
register
or
sign in
to post a comment