Browse Source

修改人工充值

lip 1 day ago
parent
commit
79d34f14c5
2 changed files with 1 additions and 2 deletions
  1. 1 1
      app/Http/Controllers/api/Wallet.php
  2. 0 1
      app/Services/PaymentOrderService.php

+ 1 - 1
app/Http/Controllers/api/Wallet.php

@@ -165,7 +165,7 @@ class Wallet extends BaseController
             $data['fee'] = 0;
             $data['amount'] = number_format($params['amount'], 2, '.', '');
             $data['payment_type'] = $params['payment_type'];
-            $data['channel'] = '人工充值';
+            $data['channel'] = 'rgcz';
             $data['status'] = PaymentOrderService::STATUS_STAY;
             $data['remark'] = '';
             // 创建待处理状态的提现记录

+ 0 - 1
app/Services/PaymentOrderService.php

@@ -61,7 +61,6 @@ class PaymentOrderService extends BaseService
         if (isset($search['channel']) && !empty($search['channel'])) {
             if ($search['channel'] == 'rgcz') {
                 $search['type'] = 3;
-                $search['channel'] = '人工充值';
             }
             $where[] = ['payment_orders.channel', '=', $search['channel']];