|
|
@@ -13,6 +13,12 @@ class IndexController
|
|
|
{
|
|
|
public function notify(NotifyService $notifyService): Json
|
|
|
{
|
|
|
+ $headers = getallheaders();
|
|
|
+ $body = file_get_contents('php://input');
|
|
|
+ Log::debug('lakala notify {headers} {body}', [
|
|
|
+ 'headers' => json_encode($headers),
|
|
|
+ 'body' => json_encode($body),
|
|
|
+ ]);
|
|
|
$notifyService->notify();
|
|
|
return json(['code' => 'SUCCESS', 'message' => '执行成功']);
|
|
|
}
|