From 808a61060cca226d750a59f4f44323694544bf9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Fri, 14 Nov 2025 18:03:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E6=AD=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/SingerSong.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/model/SingerSong.php b/application/api/model/SingerSong.php index c64329e..0b560f4 100644 --- a/application/api/model/SingerSong.php +++ b/application/api/model/SingerSong.php @@ -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]; }