thirdpayment
ljl 11 months ago
parent d62b3d0b31
commit 84e5de04be

@ -48,6 +48,8 @@ class MineCommand extends HyperfCommand
public function handle(): void
{
$this->getBalance();
return;
$this->rsyncUser('289a092602845b1a40793db5409333f5', '202308070000001', 'ACT_5');
$this->rsyncBankCards();
return;
@ -329,6 +331,10 @@ class MineCommand extends HyperfCommand
echo 'RLX: ' . $result . PHP_EOL;
$result = $userService->getBalance('f27f7786068387029a126de736bb84b2');
echo 'WHQ: ' . $result . PHP_EOL;
$result = $userService->getBalance('f9c0bea79725d71cc7969571c345de54');
echo 'CWX: ' . $result . PHP_EOL;
$result = $userService->getBalance('289a092602845b1a40793db5409333f5');
echo 'WRTC: ' . $result . PHP_EOL;
}
public function refund()

@ -10,7 +10,7 @@ class User extends Model
public static function getPlatformAccount($isAccountPay) {
if ($isAccountPay) {
return self::where('user_id', 'CWX1989')->first();
return self::where('user_id', 'ACT_4')->first();
}
return self::where('is_platform_account', 1)->first();
}

@ -265,7 +265,7 @@ class PaymentService extends AbstractService
}
if ($params['isAccountPay']) {
$feeSubOrderNo = StringHelper::generateOrderNo(StringHelper::ORDER_NO_TYPE_PAY_SPLIT);
$mainAccount = User::where('user_id', 'RLX1990')->first();
$mainAccount = User::where('user_id', 'ACT_5')->first();
$orderSplitInfos[] = [
'app_id' => $app->app_id,
'user_id' => $user->user_id,

Loading…
Cancel
Save