This commit is contained in:
2025-11-14 18:03:43 +08:00
parent 32b9c57197
commit 808a61060c

View File

@@ -249,7 +249,7 @@ class SingerSong extends Model
'week' => db::name('vs_song_log')->where($where)->where('createtime', 'between time', [strtotime(date('Y-m-d', strtotime("-1 week"))), time()])->count(),
'month' => db::name('vs_song_log')->where($where)->where('createtime', 'between time', [strtotime(date('Y-m-01')), strtotime(date('Y-m-t'))])->count()
];
return $res;
return ['code' => 1, 'msg' => '获取成功', 'data' => $res];
}