|
@@ -16,8 +16,11 @@ class ordersendlistControl extends SystemControl
|
|
|
$model_refill_order = Model('refill_order');
|
|
|
$condition['refill_order.inner_status'] = 0;
|
|
|
$condition['vr_order.order_state'] = ORDER_STATE_SEND;
|
|
|
- //默认普充
|
|
|
- $_GET['quality'] = 1;
|
|
|
+ if(empty($_GET['quality'])) {
|
|
|
+ //默认普充
|
|
|
+ $_GET['quality'] = 2;
|
|
|
+ }
|
|
|
+
|
|
|
$time = time();
|
|
|
$condition['refill_order.order_time'] = ['exp', "refill_order.order_time < ({$time} - merchant.time_out)"];
|
|
|
// $condition['refill_order.order_time'] = ['lt',time()-300];
|