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
89748c4e
...
89748c4ec8c142f6ae31a0674ea2b2672a78125f
authored
2021-08-23 20:46:35 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
调整数据格式
1 parent
05dc8a47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Services/MusicianSongService.php
app/Services/MusicianSongService.php
View file @
89748c4
...
...
@@ -47,7 +47,7 @@ class MusicianSongService extends Service
$item
->
setAttribute
(
'name'
,
$name
);
$item
->
setAttribute
(
'singer'
,
$singer
);
$item
->
setAttribute
(
'cover'
,
empty
(
$item
->
coverResource
)
?
''
:
$item
->
coverResource
->
url
);
$item
->
setAttribute
(
'ext'
,
$sp_exts
[
$item
->
sp_id
]
??
[]
);
$item
->
setAttribute
(
'ext'
,
$sp_exts
[
$item
->
sp_id
]
??
null
);
$tmp
=
$item
->
toArray
();
if
(
empty
(
$tmp
[
'contract_detail'
]))
{
...
...
Please
register
or
sign in
to post a comment