where('friend_uid', '[0-9]+'); // 同意/拒绝契约邀请 Route::put('/invitation/{invite_id}/fixstate', 'Deed\InvitationController@fixstate'); // 阅读邀请 Route::put('/invitation/{invite_id}/fixread', 'Deed\InvitationController@fixread'); // 订阅/退订 邀请通知 Route::get('/invitation/notice/subscribe', 'Deed\NoticeController@subscribe'); // 星标某个好友 Route::put('/friends/starfriend/{friend_uid}', 'Deed\FriendController@starFriend'); // 隐藏某个好友 Route::put('/friends/hidefriend/{friend_uid}', 'Deed\FriendController@hideFriend'); // 好友列表未读概览 Route::get('/friends/listcnt/overview', 'Deed\FriendController@getListCnt'); // 标签列表 Route::get('tags', 'Deed\QuestionController@tags'); // 标签下的问题模版列表 Route::get('tags/{id}/questions', 'Deed\QuestionController@tagQuestions')->where('id', '[0-9]+'); // 获取标签的领唱列表 Route::get('tags/{id}/singers', 'Deed\QuestionController@getLeadSingers')->where('id', '[0-9]+'); // 标签列表 Route::get('questions', 'Deed\QuestionController@index'); // 获取指定问题 Route::get('questions/{id}', 'Deed\QuestionController@show')->where('id', '[0-9]+'); // 获取随机一个问题 Route::get('questions/{id}/random', 'Deed\QuestionController@random')->where('id', '[0-9]+'); Route::get('questions/random', 'Deed\QuestionController@filter'); // 获取随机一批问题 Route::get('questions/random/batch', 'Deed\QuestionController@randomBatch'); // 获取指定歌曲的随机一个领唱 Route::get('questions/{template_id}/singers/random', 'Deed\QuestionController@showSingerByTemplate')->where('template_id', '[0-9]+'); // 活动随机领唱 Route::get('singers/random', 'Deed\QuestionController@randomLeadSinger'); // 获取指定领唱 Route::get('singers/{id}', 'Deed\QuestionController@getLeadSinger'); // 标签列表 Route::get('tags', 'Deed\QuestionController@tags'); // 标签下的问题 Route::get('tags/{id}/questions', 'Deed\QuestionController@tagQuestions')->where('id', '[0-9]+'); Route::post('paint', 'Deed\PaintController@store'); Route::get('paint/{id}', 'Deed\PaintController@show')->where('id', '[0-9]+');