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