|
@@ -16,14 +16,17 @@ $api = app('Dingo\Api\Routing\Router');
|
|
|
$api->version('v1', [
|
|
|
'namespace' => 'App\Http\Controllers\V1',
|
|
|
], function ($api) {
|
|
|
- //查询帖子内容详情
|
|
|
- $api->get('post/info', 'PostController@find');
|
|
|
+
|
|
|
//根据行为标识查询行为
|
|
|
$api->get('getBehaviorByIdentify', 'BehaviorController@getBehaviorByIdentify');
|
|
|
$api->get('getVodUploadAuth', 'AliYunVodController@getVodUploadAuth');
|
|
|
$api->get('getPlayUrlByVideoId', 'AliYunVodController@getPlayUrlByVideoId');
|
|
|
//获取所有行为
|
|
|
$api->get('getAllBehavior', 'BehaviorController@getAllBehavior');
|
|
|
+ $api->group(['middleware' => ['chxq_sign']], function ($api) {
|
|
|
+ //查询帖子内容详情
|
|
|
+ $api->get('post/info', 'PostController@find');
|
|
|
+ });
|
|
|
//登录
|
|
|
$api->group(['middleware' => ['chxq_jwt_auth']], function ($api) {
|
|
|
//内容详情
|