123456789101112131415161718192021 |
- <?php
- namespace ln\services;
- use EasyWeChat\Payment\Notify;
- use EasyWeChat\Payment\Payment;
- use Symfony\Component\HttpFoundation\Request;
- class PaymentService extends Payment
- {
- public function getNotify()
- {
- $request = \request();
- $request = new Request($request->get(), $request->post(), [], [], [], $request->server(), $request->getContent());
- return new Notify($this->merchant, $request);
- }
- }
|