lip 23 hodín pred
rodič
commit
38f4550ea5
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  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']];