Commit 4230926b by 刘海龙

Merge branch 'master' of http://132.232.91.252:9999/ice/xiaozhan

parents 6ba53438 8ce72575
......@@ -1350,7 +1350,7 @@ class Model_Live extends PhalApi_Model_NotORM {
$result=DI()->notorm->users_coinrecord
->select('sum(giftcount) as giftcount,touid as uid')
->where($where .'and giftid = '.$gid)
->order('giftcount desc')
->order('giftcount desc, id')
->group('touid')
->limit($start,$pnum)
->fetchAll();
......@@ -1369,7 +1369,7 @@ class Model_Live extends PhalApi_Model_NotORM {
->select('sum(giftcount) as giftcount,uid')
->where($where .'and giftid = '.$gid)
->group('uid')
->order('giftcount desc')
->order('giftcount desc, id')
->limit($start,$pnum)
->fetchAll();
foreach ($result as $key => $v){
......
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