Browse Source

更新支付回调

tags/v1.0.0^0
wuliangbo 1 year ago
parent
commit
6fa70ee8b3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/Payment/Notify/Handler.php

+ 1
- 2
src/Payment/Notify/Handler.php View File

@@ -111,9 +111,8 @@ abstract class Handler
if (!empty($this->message)) {
return $this->message;
}

try {
$message = json_decode(strval($this->app['request']->getContent()), true);
parse_str($this->app['request']->getContent(), $message);
} catch (\Throwable $e) {
throw new Exception('Invalid request: ' . $e->getMessage(), 400);
}


Loading…
Cancel
Save