From 8b5a368b17ac43affb30bc8439a8f07dee68dec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Mon, 12 Jan 2026 11:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E9=97=B4=E6=8E=92=E8=A1=8C=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Ranking.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/model/Ranking.php b/application/api/model/Ranking.php index 8983f3eb..40019dbe 100644 --- a/application/api/model/Ranking.php +++ b/application/api/model/Ranking.php @@ -157,8 +157,8 @@ class Ranking extends Model //金币与魅力比例 $ratio = get_system_config_value('coin_charm_exp'); //时间转为天 - $begin_time = strtotime(date('Y-m-d',$this->begin_time)); - $end_time = strtotime(date('Y-m-d',$this->end_time)); + $begin_time = date('Y-m-d',$this->begin_time); + $end_time = date('Y-m-d',$this->end_time); //获取当前用户的房间id $myRoom = db::name('vs_room')->where(['user_id' => UID ,'room_status' => 1])->find();