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);
}
......@@ -109,7 +111,7 @@ class TopicsModel extends Model
* @Author 亓官雨树<lucky.max@foxmail.com>
* @DateTime 2019-4-24
* @param $map 课程条件
* @return $count 统计数据
* @return $count 统计数据
*/
public function getReTopic($limit = 9)
{
......@@ -129,7 +131,7 @@ class TopicsModel extends Model
* @Author 亓官雨树<lucky.max@foxmail.com>
* @DateTime 2019-4-24
* @param $map 课程条件
* @return $count 统计数据
* @return $count 统计数据
*/
public function getNewTopic($limit = 9)
{
......
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