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