Selaa lähdekoodia

refill stat update notify_time

ayHaru 3 vuotta sitten
vanhempi
commit
011f680fbc

+ 2 - 2
admin/templates/default/provider.successful.php

@@ -49,8 +49,8 @@
                         <option value="1800">半小时</option>
                         <option value="900" >15分钟</option>
                         <option value="600" >10分钟</option>
-                        <option value="300" selected>5分钟</option>
-                        <option value="60">1分钟</option>
+                        <option value="300">5分钟</option>
+                        <option value="60" selected>1分钟</option>
                     </select>
                 </td>
                 <th><label>通道</label></th>

+ 1 - 1
admin/templates/default/system.order.stats.php

@@ -73,7 +73,7 @@
                 <th class="align-center">订单总量</th>
                 <th class="align-center">失败订单数量</th>
                 <th class="align-center">成功占比</th>
-                <th class="align-center"><?php echo $lang['operation']; ?></th>
+                <th class="align-center">操作</th>
             </tr>
             </thead>
             <tbody>

+ 3 - 3
helper/statistics/stat_refill.php

@@ -82,7 +82,7 @@ class stat_refill
     {
         $cond = [
             'refill_order.inner_status' => 0,
-            'refill_order.order_time&refill_order.order_time' => ['_multi' => true, ['egt', $day_time], ['lt', $day_time + stat_refill::DaySecs]]
+            'refill_order.notify_time&refill_order.notify_time' => ['_multi' => true, ['egt', $day_time], ['lt', $day_time + stat_refill::DaySecs]]
         ];
 
         $items = Model('')->table('refill_order,vr_order')
@@ -150,7 +150,7 @@ class stat_refill
         $cond = [
             'refill_order.inner_status' => 0,
             'vr_order.order_state' => ORDER_STATE_SUCCESS,
-            'refill_order.order_time&refill_order.order_time' => ['_multi' => true, ['egt', $day_time], ['lt', $day_time + stat_refill::DaySecs]],
+            'refill_order.notify_time&refill_order.notify_time' => ['_multi' => true, ['egt', $day_time], ['lt', $day_time + stat_refill::DaySecs]],
         ];
 
         $items = Model('')->table('refill_order,vr_order')
@@ -190,7 +190,7 @@ class stat_refill
         $cond = [
             'refill_order.inner_status' => 0,
             'vr_order.order_state' => ORDER_STATE_SUCCESS,
-            'vr_order.add_time&vr_order.add_time' => ['_multi' => true, ['egt', $day_time], ['lt', $day_time + stat_refill::DaySecs]],
+            'refill_order.notify_time&refill_order.notify_time' => ['_multi' => true, ['egt', $day_time], ['lt', $day_time + stat_refill::DaySecs]],
         ];
 
         $items = Model('')->table('refill_order,vr_order')