Commit e437b609 by 冷斌

fix bug

parent 7c30a45c
......@@ -61,6 +61,8 @@ class TopicsModel extends Model
}else if ($type == 4) { //排序
$orders = '`re_sort` DESC';
}
var_dump(getAttachPathByAttachId(91))
die;
return $this->where($map)->order($orders)->findPage(10);
}
......
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