1
This commit is contained in:
@ -1808,7 +1808,7 @@ class Index extends Base
|
|||||||
var_dump($nowprift);
|
var_dump($nowprift);
|
||||||
Db::table('lc_yuebao_lists')->where('id='. $v['id'])
|
Db::table('lc_yuebao_lists')->where('id='. $v['id'])
|
||||||
->update([
|
->update([
|
||||||
'profit_time' => ($v['profit_time'] + 86400),
|
'profit_time' => $v['profit_time'] + floor(($nowtime - $v['profit_time']) / 86400)*86400,
|
||||||
'nowprofit' => $v['nowprofit'] + $nowprift,
|
'nowprofit' => $v['nowprofit'] + $nowprift,
|
||||||
'profit' => $v['profit'] + floor(($nowtime - $v['start_time']) / 86400)
|
'profit' => $v['profit'] + floor(($nowtime - $v['start_time']) / 86400)
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user