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
024634ce
...
024634ce0b56f9925c09db9423edab2da50f87e0
authored
2022-09-19 10:28:01 +0800
by
wei.feng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
..
1 parent
24c0dde8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Controllers/OpenApi/SongController.php
app/Http/Controllers/OpenApi/SongController.php
View file @
024634c
...
...
@@ -28,7 +28,7 @@ class SongController extends Controller
return Response::successWithCode(ErrorCode::ILLEGAL_PARAMS, ErrorCode::$messages[ErrorCode::ILLEGAL_PARAMS]);
}*/
if
(
!
$request
->
filled
(
'song_id'
)
||
!
$request
->
filled
(
'song_name'
)
||
!
$request
->
filled
(
'singer'
))
{
if
(
empty
(
$request
->
get
(
'song_id'
))
&&
empty
(
$request
->
get
(
'song_name'
))
&&
empty
(
$request
->
get
(
'singer'
)
))
{
return
Response
::
successWithCode
(
ErrorCode
::
EMPTY_PARAMS
,
ErrorCode
::
$messages
[
ErrorCode
::
EMPTY_PARAMS
]);
}
...
...
Please
register
or
sign in
to post a comment