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
8485c7b3
...
8485c7b305d8371f079795a70a22e8baffe64e55
authored
2021-12-08 15:45:09 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
2c80d81a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Services/MusicianSongService.php
app/Services/MusicianSongService.php
View file @
8485c7b
...
...
@@ -248,8 +248,8 @@ class MusicianSongService extends Service
'cooperation_type'
=>
Contract
::
getCooperation
(
$item
[
'contract'
][
'cooperation_type'
]),
'right'
=>
Contract
::
getModel
(
$item
[
'contract'
][
'cooperation_type'
],
$right
),
'role'
=>
array_unique
(
$role
),
'date_starting'
=>
$item
[
'contract'
][
'date_starting'
]
,
'date_ending'
=>
is_null
(
$item
[
'contract'
][
'date_ending'
])
?
'永久'
:
$item
[
'contract'
][
'date_ending'
]
,
'date_starting'
=>
date
(
'Y/m/d'
,
strtotime
(
$item
[
'contract'
][
'date_starting'
]))
,
'date_ending'
=>
is_null
(
$item
[
'contract'
][
'date_ending'
])
?
'永久'
:
date
(
'Y/m/d'
,
strtotime
(
$item
[
'contract'
][
'date_ending'
]))
,
'limit'
=>
is_null
(
$item
[
'contract'
][
'date_ending'
])
?
'永久'
:
data_diff
(
$item
[
'contract'
][
'date_starting'
],
$item
[
'contract'
][
'date_ending'
]),
'district'
=>
Contract
::
getDistrict
(
$item
[
'contract'
][
'district_id'
]),
'exclusive'
=>
Contract
::
isExclusive
(
$item
[
'contract'
][
'is_exclusive'
]),
...
...
Please
register
or
sign in
to post a comment