master
elf 11 months ago
parent 4fa034d309
commit 6683a34aad

@ -80,6 +80,8 @@ class SpendController extends ThinkController
$map['pay_way'] = $_REQUEST['pay_way'];
}
unset($_REQUEST['pay_way']);
} else {
$map['pay_way'] = ['not in', ['41']];
}
if (isset($_REQUEST['pay_game_status'])) {
$map['pay_game_status'] = $_REQUEST['pay_game_status'];
@ -192,11 +194,11 @@ class SpendController extends ThinkController
$this->display();
}
public function lists1()
public function lists_mime()
{
$startDate = empty($_REQUEST['timestart']) ? date('Y-m-d', strtotime('-6 day', time())) : $_REQUEST['timestart'];
$endDate = empty($_REQUEST['timeend']) ? date('Y-m-d') : $_REQUEST['timeend'];
$payStatus = isset($_REQUEST['pay_status']) ? $_REQUEST['pay_status'] : 1;
$payStatus = isset($_REQUEST['pay_real_status']) ? $_REQUEST['pay_real_status'] : 1;
$startTime = strtotime($startDate);
$endTime = strtotime($endDate) + 86399;
@ -207,7 +209,7 @@ class SpendController extends ThinkController
$map['spend_time'] = array('BETWEEN', array($startTime, $endTime));
}
$map['pay_status'] = $payStatus;
$map['pay_real_status'] = $payStatus;
unset($_REQUEST['timestart']);
unset($_REQUEST['timeend']);
@ -252,14 +254,8 @@ class SpendController extends ThinkController
unset($_REQUEST['extend']);
}
if (isset($_REQUEST['pay_way'])) {
if ($_REQUEST['pay_way'] == 2) {
$map['pay_way'] = ['in', '2,3,4'];
} else {
$map['pay_way'] = $_REQUEST['pay_way'];
}
unset($_REQUEST['pay_way']);
}
$map['pay_way'] = ['in', '41'];
if (isset($_REQUEST['pay_game_status'])) {
$map['pay_game_status'] = $_REQUEST['pay_game_status'];
unset($_REQUEST['pay_game_status']);

@ -114,16 +114,8 @@
<option value="">区服名称</option>
</select>
</div>
<div class="input-list input-list-spend search_label_rehab">
<select id="pay_way_id" name="pay_way" class="select_gallery" style="width:120px;">
<option value="">充值方式</option>
<volist name=":all_pay_way_other(1)" id="vo">
<option value="{$vo.key}">{$vo.value}</option>
</volist>
</select>
</div>
<div class="input-list search_item input-list-orderstatus">
<select name="pay_status" style="color:#444" class="select_gallery" id="sel_order">
<select name="pay_real_status" style="color:#444" class="select_gallery" id="sel_order">
<!-- <option value="">订单状态</option> -->
<option value="1" <?php echo $payStatus == 1 ? "selected" : ''?>>充值成功</option>
<option value="0" <?php echo $payStatus == 0 ? "selected" : ''?>>下单未付款</option>
Loading…
Cancel
Save