zxhxx 3 năm trước cách đây
mục cha
commit
5029a53b7c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      application/api/controller/Article.php

+ 2 - 2
application/api/controller/Article.php

@@ -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()
     {