Commit 4f48088c by 冷斌

update

parent d77f87f5
...@@ -54,7 +54,7 @@ class Model_Home extends PhalApi_Model_NotORM { ...@@ -54,7 +54,7 @@ class Model_Home extends PhalApi_Model_NotORM {
} }
$pnum=50; $pnum=50;
$start=($p-1)*$pnum; $start=($p-1)*$pnum;
$where=" islive= '1' and ishot='1' "; $where=" islive= '1'";
if (!empty($touids)) { if (!empty($touids)) {
$touidss=implode(",",$touids); $touidss=implode(",",$touids);
$where.=" and uid in ({$touidss})"; $where.=" and uid in ({$touidss})";
......
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