|
@@ -21,7 +21,7 @@ class Article extends Api
|
|
|
}
|
|
|
public function lst(Request $request)
|
|
|
{
|
|
|
- list($ifyid,$key,$page,$limit,$is_hot,$is_rec,$cid) = UtilService::getMore(
|
|
|
+ list($ifyid,$key,$page,$limit,$is_hot,$is_rec,$cid,$order) = UtilService::getMore(
|
|
|
[
|
|
|
['ifyid',0],
|
|
|
['key',''],
|
|
@@ -33,7 +33,7 @@ class Article extends Api
|
|
|
['order','']
|
|
|
],$request,true
|
|
|
);
|
|
|
- return $this->success('获取成功',ArticleModel::lst(compact('ifyid','key','page','limit','is_hot','is_rec','cid')));
|
|
|
+ return $this->success('获取成功',ArticleModel::lst(compact('ifyid','key','page','limit','is_hot','is_rec','cid','order')));
|
|
|
}
|
|
|
public function view()
|
|
|
{
|