|
|
|
@ -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逆序排列 */
|
|
|
|
|