Commit 412b5bfe by 冷斌

fix bug

parent e9e4b15a
...@@ -603,7 +603,8 @@ class Model_Home extends PhalApi_Model_NotORM { ...@@ -603,7 +603,8 @@ class Model_Home extends PhalApi_Model_NotORM {
public function getRecommend(){ public function getRecommend(){
$configpri=getConfigPri(); $configpri=getConfigPri();
$where="islive= '1'"; // $where="islive= '1'";
$where=" isrecommend = '1' and islive= '1' ";
$result=DI()->notorm->users_live $result=DI()->notorm->users_live
->select("uid,thumb,title,city,stream,pull,thumb,isvideo,type,type_val,game_action,goodnum,anyway") ->select("uid,thumb,title,city,stream,pull,thumb,isvideo,type,type_val,game_action,goodnum,anyway")
->where($where) ->where($where)
......
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