|
@@ -100,7 +100,22 @@ $api->version('v1', [
|
|
|
$api->put('activitiesEdit', 'ActivitiesController@edit');
|
|
|
//活动详情
|
|
|
$api->get('activitiesView', 'ActivitiesController@view');
|
|
|
- });
|
|
|
|
|
|
+ //星球新闻列表
|
|
|
+ $api->get('/starNews/lists', 'StarNewsController@index');
|
|
|
+ //新增星球新闻
|
|
|
+ $api->post('/starNews/create', 'StarNewsController@create');
|
|
|
+ //编辑星球新闻
|
|
|
+ $api->put('/starNews/edit', 'StarNewsController@edit');
|
|
|
+ //删除星球新闻
|
|
|
+ $api->put('/starNews/editStatus', 'StarNewsController@editStatus');
|
|
|
+
|
|
|
+ //平台内容列表
|
|
|
+ $api->get('/platformContent/lists', 'PlatformContentController@index');
|
|
|
+ //新增平台内容
|
|
|
+ $api->post('/platformContent/create', 'PlatformContentController@create');
|
|
|
+ //编辑平台内容
|
|
|
+ $api->put('/platformContent/edit', 'PlatformContentController@edit');
|
|
|
+ });
|
|
|
});
|
|
|
});
|