diff --git a/Application/Admin/Controller/DepositController.class.php b/Application/Admin/Controller/DepositController.class.php index e838bb7c9..8034efa3d 100644 --- a/Application/Admin/Controller/DepositController.class.php +++ b/Application/Admin/Controller/DepositController.class.php @@ -71,7 +71,10 @@ class DepositController extends ThinkController { } unset($_REQUEST['pay_way']); } - + if ($_REQUEST['merchant_id']) { + $map['merchant_id'] = $_REQUEST['merchant_id']; + unset($_REQUEST['merchant_id']); + } if(isset($_REQUEST['pay_status'])){ $map['pay_status']=$_REQUEST['pay_status']; @@ -213,6 +216,10 @@ class DepositController extends ThinkController { $sort = $data_order==3?'desc':'asc'; $map['order'] = $data_order_type.' '.$sort; } + if ($_REQUEST['merchant_id']) { + $map['merchant_id'] = $_REQUEST['merchant_id']; + unset($_REQUEST['merchant_id']); + } $map1=$map; $map1['pay_status']=1; @@ -235,7 +242,7 @@ class DepositController extends ThinkController { $data = D('coin_pay_order') /* 查询指定字段,不指定则查询所有字段 */ - ->field('*,order_status as pay_status,order_number as pay_order_number') + ->field('*,order_status as pay_status,order_number as pay_order_number,merchant_id') // 查询条件 ->where($map) /* 默认通过id逆序排列 */ diff --git a/Application/Admin/Controller/TestOrderController.class.php b/Application/Admin/Controller/TestOrderController.class.php index 0141a6507..638f3c3e1 100644 --- a/Application/Admin/Controller/TestOrderController.class.php +++ b/Application/Admin/Controller/TestOrderController.class.php @@ -47,6 +47,10 @@ class TestOrderController extends ThinkController $timeend = strtotime($_REQUEST['timeend'])+86399; $map['pay_time'] = array("ELT",$timeend); } + if ($_REQUEST['merchant_id']) { + $map['merchant_id'] = $_REQUEST['merchant_id']; + unset($_REQUEST['merchant_id']); + } $order_list = M('test_order t', 'tab_') ->field("t.*,g.sdk_version") ->join("tab_game g on t.game_id = g.id","left") diff --git a/Application/Admin/View/Deposit/lists.html b/Application/Admin/View/Deposit/lists.html index 11ac0aef1..0875d4093 100644 --- a/Application/Admin/View/Deposit/lists.html +++ b/Application/Admin/View/Deposit/lists.html @@ -81,7 +81,14 @@ - +