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
df5643c3
...
df5643c3ec2d1a86978369857d2ffefa79dcc2cc
authored
2022-12-05 16:11:28 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
生成分享链接并且生成token
1 parent
d59af217
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 @
df5643c
...
...
@@ -103,7 +103,7 @@ class PropertyTrackService extends Service
'expire_time'
=>
''
,
];
if
(
$share
=
PropertyShare
::
query
()
->
where
([
'pf_id'
=>
$this
->
request
->
input
(
'
pf
_id'
)])
->
orderByDesc
(
'id'
)
->
first
())
{
if
(
$share
=
PropertyShare
::
query
()
->
where
([
'pf_id'
=>
$this
->
request
->
input
(
'
track
_id'
)])
->
orderByDesc
(
'id'
)
->
first
())
{
$data
[
'phone'
]
=
$share
->
phone
;
$data
[
'share_url'
]
=
$share
->
share_url
;
$data
[
'expire_time'
]
=
$share
->
expire_time
;
...
...
Please
register
or
sign in
to post a comment