elf 1 year ago
parent 2408adec7c
commit 663471ca39

@ -156,6 +156,10 @@ class MineCommand extends HyperfCommand
'userId' => 'ELF1990', 'userId' => 'ELF1990',
'outApplyNo' => '16934203547527', 'outApplyNo' => '16934203547527',
]; ];
$data = [
'type' => 'WITHDRAW',
'outOrderNo' => '16934198607215',
];
$params = [ $params = [
'app_id' => $app->app_id, 'app_id' => $app->app_id,
'nonce_str' => StringHelper::getRandomString(16), 'nonce_str' => StringHelper::getRandomString(16),

@ -552,6 +552,7 @@ class PaymentService extends AbstractService
$apply->amount = $data['amount']; $apply->amount = $data['amount'];
$apply->status = 'PREPARE'; $apply->status = 'PREPARE';
$apply->summary = $data['summary'] ?? '转账'; $apply->summary = $data['summary'] ?? '转账';
$apply->applied_at = date('Y-m-d H:i:s');
$apply->save(); $apply->save();
$baofu = new Baofu(); $baofu = new Baofu();

Loading…
Cancel
Save