فهرست منبع

修改人工充值

lip 15 ساعت پیش
والد
کامیت
38f4550ea5
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      app/Services/PaymentOrderService.php

+ 3 - 1
app/Services/PaymentOrderService.php

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