正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -207,7 +207,6 @@ class countProject extends Command | @@ -207,7 +207,6 @@ class countProject extends Command | ||
| 207 | ->whereNotNull('uptime') // 确保 uptime 字段不为空 | 207 | ->whereNotNull('uptime') // 确保 uptime 字段不为空 |
| 208 | ->orderByRaw('diff DESC') | 208 | ->orderByRaw('diff DESC') |
| 209 | ->first(); | 209 | ->first(); |
| 210 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($max_info, true) . PHP_EOL, FILE_APPEND); | ||
| 211 | $data['max_project_count'] = $max_info['diff']; | 210 | $data['max_project_count'] = $max_info['diff']; |
| 212 | $data['average'] = ceil(($max_info['diff'] + $min_info['diff']) / 2); | 211 | $data['average'] = ceil(($max_info['diff'] + $min_info['diff']) / 2); |
| 213 | return $data; | 212 | return $data; |
-
请 注册 或 登录 后发表评论