thirdpayment
ljl 11 months ago
parent a5a91fd1e6
commit 2ae0f34f72

@ -48,6 +48,7 @@ class MineCommand extends HyperfCommand
public function handle(): void public function handle(): void
{ {
$this->querySignEntrust('ACT_5');
$this->getBalance(); $this->getBalance();
return; return;
$this->rsyncUser('289a092602845b1a40793db5409333f5', '202308070000001', 'ACT_5'); $this->rsyncUser('289a092602845b1a40793db5409333f5', '202308070000001', 'ACT_5');

@ -227,7 +227,7 @@ class PaymentService extends AbstractService
$platformAccount = User::getPlatformAccount($params['isAccountPay']); $platformAccount = User::getPlatformAccount($params['isAccountPay']);
$feeRate = 0.007; $feeRate = 0.007;
if ($params['isAccountPay']) { if ($params['isAccountPay']) {
$feeRate = 0.0023; $feeRate = 0.00256;
} }
$fee = $platformAccount ? floor($order->amount * $feeRate) : 0; $fee = $platformAccount ? floor($order->amount * $feeRate) : 0;
if ($fee <= 0) { if ($fee <= 0) {

Loading…
Cancel
Save