|
@@ -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');
|
|
|
//获取话题
|