|
|
@ -48,7 +48,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
|
|
|
|
|
|
|
public function handle(): void
|
|
|
|
public function handle(): void
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$user = User::where('user_id', 'ACT_13')->first();
|
|
|
|
$user = User::where('user_id', 'ACT_9')->first();
|
|
|
|
var_dump($user->toArray());
|
|
|
|
var_dump($user->toArray());
|
|
|
|
$baofu = new Baofu();
|
|
|
|
$baofu = new Baofu();
|
|
|
|
$url = $baofu->signWithdrawEntrust($user->member_id, 'xxxxx');
|
|
|
|
$url = $baofu->signWithdrawEntrust($user->member_id, 'xxxxx');
|
|
|
@ -354,7 +354,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
$result = $userService->getBalance('289a092602845b1a40793db5409333f5');
|
|
|
|
$result = $userService->getBalance('289a092602845b1a40793db5409333f5');
|
|
|
|
echo 'WRTC: ' . $result . PHP_EOL;
|
|
|
|
echo 'WRTC: ' . $result . PHP_EOL;
|
|
|
|
|
|
|
|
|
|
|
|
$user = User::where('user_id', 'ACT_13')->first();
|
|
|
|
$user = User::where('user_id', 'ACT_9')->first();
|
|
|
|
$result = $userService->getBalance($user->member_id);
|
|
|
|
$result = $userService->getBalance($user->member_id);
|
|
|
|
echo 'NEW: ' . $result . PHP_EOL;
|
|
|
|
echo 'NEW: ' . $result . PHP_EOL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|