From 561c268d326de9cc80ce04794641ffa93d1177df Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 29 Dec 2023 11:48:05 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 33a2e90..0fbdf3c 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -48,8 +48,12 @@ class MineCommand extends HyperfCommand public function handle(): void { - $user = User::where('user_id', 'ACT_5')->first(); + $user = User::where('user_id', 'ACT_13')->first(); $baofu = new Baofu(); + $url = $baofu->signWithdrawEntrust($user->member_id, 'xxxxx'); + var_dump($url); + $this->getBalance(); + return; $result = $baofu->applyBindCard($user->member_id, [ 'cardNo' => '80094800000009440000053437', 'cardName' => '福建省万瑞天成企业管理服务有限公司', @@ -348,6 +352,10 @@ class MineCommand extends HyperfCommand echo 'CWX: ' . $result . PHP_EOL; $result = $userService->getBalance('289a092602845b1a40793db5409333f5'); echo 'WRTC: ' . $result . PHP_EOL; + + $user = User::where('user_id', 'ACT_13')->first(); + $result = $userService->getBalance($user->member_id); + echo 'NEW: ' . $result . PHP_EOL; } public function refund()