|
@@ -33,6 +33,8 @@ $api->version('v1', [
|
|
|
|
|
|
//测试
|
|
|
$api->get('test', 'TestController@index');
|
|
|
+ //配置
|
|
|
+ $api->get('config', 'ConfigController@index');
|
|
|
$api->group(['namespace' => 'Post'], function ($api) {
|
|
|
//发布内容
|
|
|
$api->post('post', 'PostController@create');
|