|
@@ -26,6 +26,8 @@ $api->version('v1', [
|
|
$api->group(['middleware' => ['chxq_jwt_auth']], function ($api) {
|
|
$api->group(['middleware' => ['chxq_jwt_auth']], function ($api) {
|
|
//内容详情
|
|
//内容详情
|
|
$api->get('post/detail', 'PostController@detail');
|
|
$api->get('post/detail', 'PostController@detail');
|
|
|
|
+ //获取热门分类下音乐列表
|
|
|
|
+ $api->get('musicList', 'MusicListController@index');
|
|
});
|
|
});
|
|
$api->get('post/suggest2', 'PostController@suggestPost');
|
|
$api->get('post/suggest2', 'PostController@suggestPost');
|
|
//登录+验签
|
|
//登录+验签
|
|
@@ -77,9 +79,7 @@ $api->version('v1', [
|
|
$api->get('post/memberPostStatistics', 'PostController@memberPostStatistics');
|
|
$api->get('post/memberPostStatistics', 'PostController@memberPostStatistics');
|
|
//关注feed流
|
|
//关注feed流
|
|
$api->get('feed', 'FeedController@index');
|
|
$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');
|
|
//排行榜
|
|
//排行榜
|