Commit 4442bef8 by 冷斌

add

parent edb2b5bb
......@@ -735,7 +735,7 @@ class Model_Home extends PhalApi_Model_NotORM {
$where.=" type='expend' and action in ('sendgift','sendbarrage') and touid in ({$userids}) ";
$result=DI()->notorm->users_coinrecord
->select('sum(totalcoin) as totalcoin, uid')
->select('sum(totalcoin) as totalcoin, touid as uid')
->where($where)
->group('touid')
->order('totalcoin desc')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment