点歌
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user