From cd3d44afe9d9c9e471815db806ffbcae0d322cfb Mon Sep 17 00:00:00 2001 From: ljl Date: Tue, 15 Aug 2023 11:37:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Command/MineCommand.php | 2 +- app/Controller/Payment/NotifyController.php | 2 +- app/Helper/Baofu/NotifyList.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 62be7d3..cf7efa7 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -46,7 +46,7 @@ class MineCommand extends HyperfCommand public function handle(): void { // $this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_register', $this->getApp(), ['userId' => '30684']); - $this->notify('http://124.223.222.61:9501/notify/test-notify', $this->getApp(), ['userId' => '30684']); + $this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_bind_card', $this->getApp(), ['userId' => '23121']); return; $this->rsyncUser('4673f922e30cfd2efeeb992ff6a32ece', '202308070000001', 'ELF1990'); $this->rsyncUser('247eda1b7de0c76603123c477f2072fa', '202308070000001', 'RLX1990'); diff --git a/app/Controller/Payment/NotifyController.php b/app/Controller/Payment/NotifyController.php index 999919e..50952e3 100644 --- a/app/Controller/Payment/NotifyController.php +++ b/app/Controller/Payment/NotifyController.php @@ -63,7 +63,7 @@ class NotifyController extends AbstractController [$token, $params] = $this->getTokenAndParams($request); $baofu = new Baofu(); - if (!$baofu->notifyVerify($params, 'bindCard')) { + if (!$baofu->notifyVerify($params, 'card-bind')) { Log::info('bindCardNotifyVerifyFail: ' . $params); return $baofu->notifySuccess(); } diff --git a/app/Helper/Baofu/NotifyList.php b/app/Helper/Baofu/NotifyList.php index b593d94..228c331 100644 --- a/app/Helper/Baofu/NotifyList.php +++ b/app/Helper/Baofu/NotifyList.php @@ -26,6 +26,7 @@ class NotifyList 'card-bind' => [ 'description' => '绑卡(H5/API)', 'signParams' => 'orgNo|merchantNo|terminalNo|contractNo|loginNo|bindCardFlag', + 'url' => 'bind-card', ], 'recharge' => [ 'description' => '个人充值(API)',