|
@@ -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');
|
|
|
+ });
|
|
|
});
|
|
|
});
|