优化聚合排序

master
chenzhi 5 years ago
parent cfa67f9e3e
commit dbc77d07e7

@ -532,7 +532,7 @@ class StatisticsController extends ThinkController {
if(empty($oldrand[$randdata[$i][$field]])){ if(empty($oldrand[$randdata[$i][$field]])){
$randdata[$i]['change'] = 0; $randdata[$i]['change'] = 0;
}else{ }else{
$randdata[$i]['change'] = $oldrand[$randdata[$i][$field]] - $rand; $randdata[$i]['change'] = $rand - $oldrand[$randdata[$i][$field]];
} }
}else{ }else{

Loading…
Cancel
Save