master
ljl 1 year ago
parent dfb21ea4ea
commit b3cfad0566

@ -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();
}

@ -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');

Loading…
Cancel
Save