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
aa5d56af
...
aa5d56afcb21209fedcb496e73988f6cef56b3da
authored
2021-06-30 17:26:34 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
b2c6f309
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Helper/Response.php
app/Helper/Response.php
View file @
aa5d56a
...
...
@@ -34,7 +34,7 @@ class Response
{
return
response
()
->
json
([
'code'
=>
$code
,
'msg'
=>
$msg
?
?
(
ErrorCode
::
$messages
[
$code
]
??
ErrorCode
::
$messages
[
ErrorCode
::
SERVER_ERROR
])
'msg'
=>
$msg
?
:
(
ErrorCode
::
$messages
[
$code
]
??
ErrorCode
::
$messages
[
ErrorCode
::
SERVER_ERROR
])
]);
}
...
...
Please
register
or
sign in
to post a comment