From 0b4c2c87f69cfc3514d7d2e72b385c44afa732ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=A0=E7=9A=84=E5=90=8D=E5=AD=97?= Date: Tue, 15 Jul 2025 09:26:37 +0800 Subject: [PATCH] 1 --- application/index/controller/Index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/index/controller/Index.php b/application/index/controller/Index.php index 0f9ea1e..889523e 100755 --- a/application/index/controller/Index.php +++ b/application/index/controller/Index.php @@ -1808,7 +1808,7 @@ class Index extends Base var_dump($nowprift); Db::table('lc_yuebao_lists')->where('id='. $v['id']) ->update([ - 'profit_time' => ($v['profit_time'] + 86400), + 'profit_time' => $v['profit_time'] + floor(($nowtime - $v['profit_time']) / 86400)*86400, 'nowprofit' => $v['nowprofit'] + $nowprift, 'profit' => $v['profit'] + floor(($nowtime - $v['start_time']) / 86400) ]);