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
470bb5c4
...
470bb5c4ee6ea33f2cd953822586152d502a9d9e
authored
2023-01-09 10:40:10 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
af4b5f2b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Services/IssueService.php
app/Services/IssueService.php
View file @
470bb5c
...
...
@@ -79,7 +79,7 @@ class IssueService extends Service
*/
public
function
latestOnlineRecord
()
{
$res
=
SongsApply
::
query
()
->
where
([
'from'
=>
1
,
'user_id'
=>
$this
->
request
->
get
(
'identifier'
)
->
company_id
])
$res
=
SongsApply
::
query
()
->
where
([
'from'
=>
1
])
->
whereNotNull
(
'qy_url'
)
->
with
([
'songs_album:id,cover_map_id'
,
'songs_album.cover:id,link_id,key'
])
->
select
([
'name'
,
'album_id'
,
'singer'
,
'online_time'
,
'qy_url'
])
->
orderByDesc
(
'online_time'
)
->
paginate
(
$this
->
pageSize
);
...
...
Please
register
or
sign in
to post a comment