Prechádzať zdrojové kódy

评论列表,回复列表

wzq 5 rokov pred
rodič
commit
93f70967f2
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 4 4
      routes/api.php

+ 4 - 4
routes/api.php

@@ -54,6 +54,10 @@ $api->version('v1', [
     $api->get('post/topic', 'PostController@topicPost');
     //话题详情
     $api->get('topic/detail', 'PostController@topicDetail');
+    //评价列表
+    $api->get('post/comment', 'PostController@commentList');
+    //回复列表
+    $api->get('post/reply', 'PostController@replyList');
 
     //登录+验签
     $api->group(['middleware' => ['chxq_jwt_auth','chxq_sign']], function ($api) {
@@ -65,10 +69,6 @@ $api->version('v1', [
         $api->get('post/my', 'PostController@myPost');
         //评价&回复
         $api->post('post/comment', 'PostController@comment');
-        //评价列表
-        $api->get('post/comment', 'PostController@commentList');
-        //回复列表
-        $api->get('post/reply', 'PostController@replyList');
         //话题分类
         $api->get('topicCategory', 'CategoryController@index');
         //获取话题