This commit is contained in:
wangjinlei
2024-08-07 15:02:14 +08:00
parent c57077e35f
commit 1f7220f36e
6 changed files with 179 additions and 23 deletions

View File

@@ -155,6 +155,7 @@ class Monitor extends Base
$s_time = strtotime($year."-".$month."-1");
$e_time = strtotime("+1 month", $s_time) - 1;
$n = $this->article_obj->where("ctime",">",$s_time)->where("ctime","<",$e_time)->count();
$frag[$year."-".$month."sql"] = $this->article_obj->getLastSql();
$frag[$year."-".$month] = $n;
if($month==12){
$year++;