Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Satini_pvduc
/
daito-utils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Satini_pvduc
2026-07-11 12:14:31 +0700
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Commit
8092a96582816807a994c43d35e22d435237113e
8092a965
2 parents
49353e6e
f469358d
Merge branch 'master' of gitlab.monotos.biz:pvduc/daito-utils
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/DaitoResponse.php
src/DaitoResponse.php
View file @
8092a96
...
...
@@ -27,12 +27,11 @@ class DaitoResponse
*/
public
static
function
make
(
$isSuccess
,
$message
,
array
$arrData
=
array
(),
$statusCode
=
200
)
{
return
array
(
return
array
_merge
(
array
(
'success'
=>
$isSuccess
?
1
:
0
,
'message'
=>
(
string
)
$message
,
'data'
=>
$arrData
,
'status_code'
=>
(
int
)
$statusCode
,
);
)
,
$arrData
)
;
}
/**
...
...
Please
register
or
sign in
to post a comment