This commit is contained in:
你的名字
2025-07-15 09:26:37 +08:00
parent 3537446d71
commit 0b4c2c87f6

View File

@ -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)
]);