From 2ae0f34f72f1311e88b53ab898dce076597f54cf Mon Sep 17 00:00:00 2001 From: ljl Date: Tue, 26 Dec 2023 15:58:14 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 1 + app/Service/PaymentService.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 119d0c8..0d78b49 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -48,6 +48,7 @@ class MineCommand extends HyperfCommand public function handle(): void { + $this->querySignEntrust('ACT_5'); $this->getBalance(); return; $this->rsyncUser('289a092602845b1a40793db5409333f5', '202308070000001', 'ACT_5'); diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 802d3e7..6dbdcc8 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -227,7 +227,7 @@ class PaymentService extends AbstractService $platformAccount = User::getPlatformAccount($params['isAccountPay']); $feeRate = 0.007; if ($params['isAccountPay']) { - $feeRate = 0.0023; + $feeRate = 0.00256; } $fee = $platformAccount ? floor($order->amount * $feeRate) : 0; if ($fee <= 0) {