|
|
@@ -496,19 +496,20 @@ class WithdrawService
|
|
|
|
|
|
//输入钱宝提现金额
|
|
|
static function inputQbAmount($chatId, $amount, $messageId)
|
|
|
- {Bank::create([
|
|
|
- 'member_id' => $chatId,
|
|
|
- 'channel' => 'DF001',
|
|
|
- 'bank_name' => '工商银行',
|
|
|
- 'account' => '提供商',
|
|
|
- 'card_no'=>'6856325475896584521'
|
|
|
- ]);
|
|
|
+ {
|
|
|
+ Bank::create([
|
|
|
+ 'member_id' => $chatId,
|
|
|
+ 'channel' => 'DF001',
|
|
|
+ 'bank_name' => '工商银行',
|
|
|
+ 'account' => '提供商',
|
|
|
+ 'card_no' => '6856325475896584521'
|
|
|
+ ]);
|
|
|
Bank::create([
|
|
|
'member_id' => $chatId,
|
|
|
'channel' => 'DF002',
|
|
|
'bank_name' => '支付宝',
|
|
|
'account' => '提供商',
|
|
|
- 'card_no'=>'18888888888'
|
|
|
+ 'card_no' => '18888888888'
|
|
|
]);
|
|
|
if (!preg_match('/^\d+(\.\d{1,2})?$/', $amount)) {
|
|
|
return [
|