修改bug

master
ljl 1 year ago
parent d1832346f2
commit cd3d44afe9

@ -46,7 +46,7 @@ class MineCommand extends HyperfCommand
public function handle(): void 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://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; return;
$this->rsyncUser('4673f922e30cfd2efeeb992ff6a32ece', '202308070000001', 'ELF1990'); $this->rsyncUser('4673f922e30cfd2efeeb992ff6a32ece', '202308070000001', 'ELF1990');
$this->rsyncUser('247eda1b7de0c76603123c477f2072fa', '202308070000001', 'RLX1990'); $this->rsyncUser('247eda1b7de0c76603123c477f2072fa', '202308070000001', 'RLX1990');

@ -63,7 +63,7 @@ class NotifyController extends AbstractController
[$token, $params] = $this->getTokenAndParams($request); [$token, $params] = $this->getTokenAndParams($request);
$baofu = new Baofu(); $baofu = new Baofu();
if (!$baofu->notifyVerify($params, 'bindCard')) { if (!$baofu->notifyVerify($params, 'card-bind')) {
Log::info('bindCardNotifyVerifyFail: ' . $params); Log::info('bindCardNotifyVerifyFail: ' . $params);
return $baofu->notifySuccess(); return $baofu->notifySuccess();
} }

@ -26,6 +26,7 @@ class NotifyList
'card-bind' => [ 'card-bind' => [
'description' => '绑卡(H5/API)', 'description' => '绑卡(H5/API)',
'signParams' => 'orgNo|merchantNo|terminalNo|contractNo|loginNo|bindCardFlag', 'signParams' => 'orgNo|merchantNo|terminalNo|contractNo|loginNo|bindCardFlag',
'url' => 'bind-card',
], ],
'recharge' => [ 'recharge' => [
'description' => '个人充值(API)', 'description' => '个人充值(API)',

Loading…
Cancel
Save