mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Pre Merge pull request !40 from stranger/master
This commit is contained in:
commit
63d69f4db7
@ -128,7 +128,7 @@ class Transfer extends Auth
|
|||||||
'total' => [
|
'total' => [
|
||||||
'锁定' => $locks,
|
'锁定' => $locks,
|
||||||
'可提' => $total - $count,
|
'可提' => $total - $count,
|
||||||
'上月' => DataUserTransfer::mk()->where($map)->whereLike('date', date("Y-m-%", strtotime('-1 month')))->sum('amount'),
|
'上月' => DataUserTransfer::mk()->where($map)->whereLike('date', date("Y-m-%", strtotime('last day of -1 month')))->sum('amount'),
|
||||||
'本月' => DataUserTransfer::mk()->where($map)->whereLike('date', date("Y-m-%"))->sum('amount'),
|
'本月' => DataUserTransfer::mk()->where($map)->whereLike('date', date("Y-m-%"))->sum('amount'),
|
||||||
'全年' => DataUserTransfer::mk()->where($map)->whereLike('date', date("Y-%"))->sum('amount'),
|
'全年' => DataUserTransfer::mk()->where($map)->whereLike('date', date("Y-%"))->sum('amount'),
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user