Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
187864e1
Commit
187864e1
authored
Jun 05, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
c255bbfb
37f1f178
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
apps/news/Lib/Model/TopicsModel.class.php
+4
-2
No files found.
apps/news/Lib/Model/TopicsModel.class.php
View file @
187864e1
...
@@ -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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment