正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -425,7 +425,7 @@ class Index extends Api | @@ -425,7 +425,7 @@ class Index extends Api | ||
425 | ]; | 425 | ]; |
426 | } else { | 426 | } else { |
427 | $sum = array_sum(array_column($count, 'num')); | 427 | $sum = array_sum(array_column($count, 'num')); |
428 | - $list['num'] = $sum + 5 / count($count); | 428 | + $list['num'] = ($sum + 5) / count($count + 1); |
429 | foreach ($talk_arr as $k => $v) { | 429 | foreach ($talk_arr as $k => $v) { |
430 | $talkList[$k]['id'] = $v['id']; | 430 | $talkList[$k]['id'] = $v['id']; |
431 | $talkList[$k]['num'] = $v['num']; | 431 | $talkList[$k]['num'] = $v['num']; |
-
请 注册 或 登录 后发表评论