|
@@ -84,17 +84,21 @@ $api->version('v1', [
|
|
|
$api->put('topic/topicSetStatus', 'TopicController@setStatus');
|
|
|
});
|
|
|
|
|
|
- //行为
|
|
|
- $api->group(['namespace' => 'Behavior'], function ($api) {
|
|
|
- //行为列表
|
|
|
- $api->get('behavior/list', 'BehaviorController@index');
|
|
|
- //登记/注册行为
|
|
|
- $api->post('behavior/create', 'BehaviorController@create');
|
|
|
- //编辑行为
|
|
|
- $api->put('behavior/edit', 'BehaviorController@edit');
|
|
|
- //列表修改行为状态(行为管理)
|
|
|
- $api->post('behavior/editStatus', 'BehaviorController@editStatus');
|
|
|
- });
|
|
|
+ });
|
|
|
+ //行为
|
|
|
+ $api->group(['namespace' => 'Behavior'], function ($api) {
|
|
|
+ //行为列表
|
|
|
+ $api->get('behavior/list', 'BehaviorController@index');
|
|
|
+ //登记/注册行为
|
|
|
+ $api->post('behavior/create', 'BehaviorController@create');
|
|
|
+ //编辑行为
|
|
|
+ $api->put('behavior/edit', 'BehaviorController@edit');
|
|
|
+ //列表修改行为状态(行为管理)
|
|
|
+ $api->post('behavior/editStatus', 'BehaviorController@editStatus');
|
|
|
+
|
|
|
+ //行为日志列表
|
|
|
+ $api->get('behavior/log', 'LogController@index');
|
|
|
+
|
|
|
});
|
|
|
|
|
|
});
|