where('id', '[0-9]+'); // 后台-审核声音 Route::put('admin/voice/{voice_id}/check', 'Goodnight\VoiceController@check')->where('id', '[0-9]+'); // 后台-标记声音 Route::put('admin/voice/{voice_id}/tag', 'Goodnight\VoiceController@tag')->where('id', '[0-9]+'); Route::get('enters', 'Goodnight\EnterController@index'); Route::get('enters/{id}', 'Goodnight\EnterController@show')->where('id', '[0-9]+'); Route::post('enters', 'Goodnight\EnterController@store'); Route::get('enters/today', 'Goodnight\EnterController@today'); Route::get('rooms', 'Goodnight\RoomController@index'); Route::get('rooms/{id}', 'Goodnight\RoomController@show')->where('id', '[0-9]+'); Route::get('rooms/partners', 'Goodnight\RoomController@partners'); Route::get('rooms/{id}/messages', 'Goodnight\RoomController@messages')->where('id', '[0-9]+'); Route::get('rooms/{id}/members', 'Goodnight\RoomController@members')->where('id', '[0-9]+'); Route::post('rooms/{id}/messages', 'Goodnight\RoomController@createMessage')->where('id', '[0-9]+'); Route::post('rooms/{id}/task', 'Goodnight\RoomController@createTask')->where('id', '[0-9]+'); Route::get('topics', 'Goodnight\VoiceController@topics'); Route::get('rank/total', 'Goodnight\RankController@total'); Route::get('rank/topic', 'Goodnight\RankController@topic'); Route::get('rank/daily', 'Goodnight\RankController@daily');