|
@@ -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;
|