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
b1294a53
...
b1294a53b5ff88fcd15d198bd950d18bf3928088
authored
2022-07-20 17:00:53 +0800
by
mengfan.xie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
27ea422d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Controllers/Release/WorkController.php
app/Http/Controllers/Release/WorkController.php
View file @
b1294a5
...
...
@@ -60,8 +60,8 @@ class WorkController extends BaseController
$param
=
[
'type'
=>
'0'
,
'fileUrl'
=>
$singer_param
[
'singerPic'
]
??
''
,
//
'fileName' =>last(explode('/',$file_name)) ?? '艺人头像.jpg',
'fileName'
=>
time
()
.
'.'
.
last
(
explode
(
'.'
,
$file_name
)),
'fileName'
=>
last
(
explode
(
'/'
,
$file_name
))
??
'艺人头像.jpg'
,
//
'fileName' =>time() . '.' . last(explode('.',$file_name)),
];
list
(
$code
,
$msg
,
$data
)
=
$this
->
doApi
(
'/invests/content/upload'
,
$param
);
$pic_url
=
$data
[
'fileUrl'
]
??
''
;
...
...
Please
register
or
sign in
to post a comment