From b3cfad0566cf09fa656ecd9ae7387aff36ca1539 Mon Sep 17 00:00:00 2001 From: ljl Date: Wed, 16 Aug 2023 14:19:02 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 2 +- app/Service/PaymentService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index a80c022..9cd14ab 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -89,7 +89,7 @@ class MineCommand extends HyperfCommand return $requestService->createRequestLog('/', $params); } - protected function getApp($appId = '202308040000002') { + protected function getApp($appId = '202308070000001') { return App::where('app_id', $appId)->first(); } diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 9cca938..d58f188 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -158,7 +158,7 @@ class PaymentService extends AbstractService $order->save(); $platformAccount = User::getPlatformAccount(); - $fee = $platformAccount ? floor($order->amount * 0.01) : 0; + $fee = $platformAccount ? floor($order->amount * 0.007) : 0; $orderSplitInfos = []; $splitUserIds = array_column($params['splitInfoList'], 'splitUserId'); $users = User::where('app_id', $app->app_id)->whereIn('user_id', $splitUserIds)->get()->keyBy('user_id');