作者 王智

daima

... ... @@ -425,7 +425,7 @@ class Index extends Api
];
} else {
$sum = array_sum(array_column($count, 'num'));
$list['num'] = ($sum + 5) / count($count) + 1;
$list['num'] = ($sum + 5) / (count($count) + 1);
foreach ($talk_arr as $k => $v) {
$talkList[$k]['id'] = $v['id'];
$talkList[$k]['num'] = $v['num'];
... ...