Commit 76d007ff by 冷斌

fix bug

parent 7fe28824
...@@ -42,7 +42,7 @@ class Model_Home extends PhalApi_Model_NotORM { ...@@ -42,7 +42,7 @@ class Model_Home extends PhalApi_Model_NotORM {
$result=DI()->notorm->users_live $result=DI()->notorm->users_live
->select("uid,title,city,stream,pull,thumb,isvideo,type,type_val,game_action,goodnum,anyway") ->select("uid,title,city,stream,pull,thumb,isvideo,type,type_val,game_action,goodnum,anyway")
->where($where) ->where($where)
->order('isrecommend desc,hotvotes desc,starttime desc') // ->order('isrecommend desc,hotvotes desc,starttime desc')
->order("RAND()") ->order("RAND()")
->limit(50) ->limit(50)
->fetchAll(); ->fetchAll();
......
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