diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 1644dff..5a7da68 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -156,6 +156,10 @@ class MineCommand extends HyperfCommand 'userId' => 'ELF1990', 'outApplyNo' => '16934203547527', ]; + $data = [ + 'type' => 'WITHDRAW', + 'outOrderNo' => '16934198607215', + ]; $params = [ 'app_id' => $app->app_id, 'nonce_str' => StringHelper::getRandomString(16), diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 84cc208..87790ee 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -552,6 +552,7 @@ class PaymentService extends AbstractService $apply->amount = $data['amount']; $apply->status = 'PREPARE'; $apply->summary = $data['summary'] ?? '转账'; + $apply->applied_at = date('Y-m-d H:i:s'); $apply->save(); $baofu = new Baofu();