فهرست منبع

order stats add merchant available

xiaoyu 3 سال پیش
والد
کامیت
2bf5469af6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      admin/control/orderstats.php

+ 1 - 1
admin/control/orderstats.php

@@ -33,7 +33,7 @@ class orderstatsControl extends SystemControl
         $stats_list = $model_refill_order->getOrderStatsList($condition, 50, '*', 'time_stamp desc, cname asc');
         if($type == 'merchant') {
             foreach ($stats_list as $key => $stats) {
-                $time = $stats['time_text'];
+                $time = date("Y-m-d",$stats['time_stamp']+86400);
                 $mch_cache = rcache("merchant_balance_{$time}", 'refill-');
                 $caches = empty($mch_cache['data']) ? [] : unserialize($mch_cache['data']);
                 if(empty($caches)) continue;