New voucher CIEFPC30 setup with new business logic - Initial Commit

This commit is contained in:
Dillon Ngo
2024-12-09 05:23:53 +08:00
parent 0824a45b41
commit 0ab5ed76a5
29 changed files with 401 additions and 104 deletions
@@ -23,11 +23,12 @@ class LogRequestPathMiddleware
$fullUrl = $request->fullUrl();
LogHelper::channel('request_path')->info('Request Method: ' . $method);
LogHelper::channel('request_path')->info('Request URL: ' . $fullUrl);
}
if ($request->isMethod('post')) {
$payload = $request->all();
LogHelper::channel('request_path')->info('Request Payload POST: ', $payload);
if ($request->isMethod('post')) {
$payload = $request->all();
LogHelper::channel('request_path')->info('Request Payload POST: ', $payload);
}
}
return $next($request);