gteam.php 781 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * /api/gteam/???
  4. */
  5. use Illuminate\Support\Facades\Route;
  6. Route::resource('enter', 'Gteam\EnterController');
  7. Route::resource('room', 'Gteam\RoomController');
  8. Route::resource('activitys', 'Gteam\ActivityController');
  9. // 获取最近的助力记录
  10. Route::get('/invite/{invite_id}/history', 'Share\GteamController@history')->where('invite_id', '[0-9]+');
  11. // 获取助力的气泡
  12. Route::get('/invite/{activity_id}/lastInvite', 'Share\GteamController@lastInvite')->where('activity_id', '[0-9]+');
  13. // 活动男女数量
  14. Route::get('/activity/{activity_id}/sexproportion', 'Gteam\EnterController@sexproportion')->where('activity_id',
  15. '[0-9]+');
  16. // 获取某个用户信息
  17. Route::get('/user/{uid}/getinfo', 'Gteam\UserController@getUser')->where('uid', '[0-9]+');