add 对接支付系统,回调改造

This commit is contained in:
chenbo 2023-11-21 10:43:26 +08:00
parent 78b7c8ea0a
commit 6c44af1cf0
2 changed files with 2 additions and 7 deletions

View File

@ -135,12 +135,7 @@ class PayController extends BaseApiController
/** /**
* @notes app支付回调 * @notes 支付系统回调
* @return \Psr\Http\Message\ResponseInterface
* @throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException
* @throws \EasyWeChat\Kernel\Exceptions\RuntimeException
* @throws \ReflectionException
* @throws \Throwable
* @date 2023/2/28 14:21 * @date 2023/2/28 14:21
*/ */
public function notifyApp() public function notifyApp()

View File

@ -355,7 +355,7 @@ class WeChatPayService extends BasePayService
/** /**
* @notes 支付回调 * @notes 支付回调
*/ */
public function notify($param) public function notify($param=[])
{ {
Log::info(['支付回调', $param]); Log::info(['支付回调', $param]);
$extra['transaction_id'] = $param['transaction_id']; $extra['transaction_id'] = $param['transaction_id'];