|
@@ -69,18 +69,21 @@ $api->version('v1', [
|
|
//收藏列表
|
|
//收藏列表
|
|
$api->get('postCollect', 'PostCollectController@index');
|
|
$api->get('postCollect', 'PostCollectController@index');
|
|
|
|
|
|
|
|
+ //用户发布数,收藏数,转发数
|
|
|
|
+ $api->get('post/memberPostStatistics', 'PostController@memberPostStatistics');
|
|
|
|
+ //关注feed流
|
|
|
|
+ $api->get('feed', 'FeedController@index');
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ $api->group(['middleware' => ['chxq_jwt_auth','chxq_sign']], function ($api) {
|
|
//优秀居民信息获取
|
|
//优秀居民信息获取
|
|
$api->get('excellentResidents', 'BeanDetailController@excellentResidents');
|
|
$api->get('excellentResidents', 'BeanDetailController@excellentResidents');
|
|
//排行榜
|
|
//排行榜
|
|
$api->get('rankingList', 'BeanDetailController@rankingList');
|
|
$api->get('rankingList', 'BeanDetailController@rankingList');
|
|
//星球首页
|
|
//星球首页
|
|
$api->get('starHome', 'BeanDetailController@starHome');
|
|
$api->get('starHome', 'BeanDetailController@starHome');
|
|
-
|
|
|
|
- //用户发布数,收藏数,转发数
|
|
|
|
- $api->get('post/memberPostStatistics', 'PostController@memberPostStatistics');
|
|
|
|
- //关注feed流
|
|
|
|
- $api->get('feed', 'FeedController@index');
|
|
|
|
});
|
|
});
|
|
|
|
+
|
|
//分享/邀请首页
|
|
//分享/邀请首页
|
|
$api->get('starDetail', 'BeanDetailController@starDetail');
|
|
$api->get('starDetail', 'BeanDetailController@starDetail');
|
|
|
|
|