Commit 187864e1 by Administrator

Merge remote-tracking branch 'origin/master'

parents c255bbfb 37f1f178
...@@ -61,6 +61,8 @@ class TopicsModel extends Model ...@@ -61,6 +61,8 @@ class TopicsModel extends Model
}else if ($type == 4) { //排序 }else if ($type == 4) { //排序
$orders = '`re_sort` DESC'; $orders = '`re_sort` DESC';
} }
var_dump(getAttachPathByAttachId(91));
die;
return $this->where($map)->order($orders)->findPage(10); return $this->where($map)->order($orders)->findPage(10);
} }
...@@ -109,7 +111,7 @@ class TopicsModel extends Model ...@@ -109,7 +111,7 @@ class TopicsModel extends Model
* @Author 亓官雨树<lucky.max@foxmail.com> * @Author 亓官雨树<lucky.max@foxmail.com>
* @DateTime 2019-4-24 * @DateTime 2019-4-24
* @param $map 课程条件 * @param $map 课程条件
* @return $count 统计数据 * @return $count 统计数据
*/ */
public function getReTopic($limit = 9) public function getReTopic($limit = 9)
{ {
...@@ -129,7 +131,7 @@ class TopicsModel extends Model ...@@ -129,7 +131,7 @@ class TopicsModel extends Model
* @Author 亓官雨树<lucky.max@foxmail.com> * @Author 亓官雨树<lucky.max@foxmail.com>
* @DateTime 2019-4-24 * @DateTime 2019-4-24
* @param $map 课程条件 * @param $map 课程条件
* @return $count 统计数据 * @return $count 统计数据
*/ */
public function getNewTopic($limit = 9) 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