4
0
Fork 0
panliang 2022-08-17 04:13:43 +00:00 committed by Gitee
parent 4d85b86f69
commit 57ae81b328
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ trait JsonResponse
return response()->json($result);
}
public function success($data = null, $message = '')
public function success($message = '', $data = null)
{
return $this->json($data, Response::HTTP_OK, $message);
}