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)',