Commit 55f37ae4 by 冷斌

fix bug

parent 3d1a1dce
...@@ -770,9 +770,9 @@ class Model_Home extends PhalApi_Model_NotORM { ...@@ -770,9 +770,9 @@ class Model_Home extends PhalApi_Model_NotORM {
} }
$where.=" type='expend' and action in ('sendgift','sendbarrage')"; $where.=" type='expend' and action in ('sendgift','sendbarrage')";
echo $where;die;
$result=DI()->notorm->users_coinrecord $result=DI()->notorm->users_coinrecord
->select('sum(totalcoin) as totalcoin, touid as uid') ->select('sum(totalcoin) as totalcoin, uid')
->where($where) ->where($where)
->group('uid') ->group('uid')
->order('totalcoin desc') ->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