share.php 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /**
  3. * /api/share/???
  4. */
  5. use Illuminate\Support\Facades\Route;
  6. // 创建链接-现金红包
  7. Route::post('redpack/store', "Share\RedpackController@store");
  8. // 创建链接-解锁卡片
  9. Route::post('lock/{partner_id}/store', "Share\LockController@store")->where('partner_id', '[0-9]+');
  10. // 创建链接-小花红包
  11. Route::post('flower/store', "Share\FlowerController@store");
  12. // 详情-现金红包
  13. Route::get('redpack/{list_id}/get', "Share\RedpackController@get")->where('list_id', '[0-9]+');
  14. // 详情-小花红包
  15. Route::get('flower/{list_id}/get', "Share\FlowerController@get")->where('list_id', '[0-9]+');
  16. // 详情-喜欢我的解锁
  17. Route::get('likeme/{list_id}/get', 'Share\LikemeController@get')->where('list_id', '[0-9]+');
  18. // 详情-72h活动分享
  19. Route::get("pair/{list_id}/get", "Share\PairController@get")->where('list_id', '[0-9]+');
  20. // 助力记录-喜欢我的解锁
  21. Route::get('likeme/{list_id}/history', 'Share\LikemeController@history')->where('list_id', '[0-9]+');
  22. // 列表-查看自己上一个现金红包
  23. Route::get('redpack/ing', "Share\RedpackController@ingredpack");
  24. // 列表-查看自己上一个小花红包
  25. Route::get('flower/ing', "Share\FlowerController@latest");
  26. // 列表-正在进行的任务-集合
  27. Route::get('inglist', "Share\ShareController@ing");
  28. // 列表-加持中的助力-人气值
  29. Route::get('/popularitysharehelp/inglist', "Share\PopularitySharehelpController@inglist");
  30. // 列表-完成的任务-匹配成功率
  31. Route::get('succlist/pair', "Share\PairController@scorelist");
  32. // 列表-完成的任务-退费
  33. Route::get('succlist/refund', "Share\PairController@refundlist");
  34. // 列表-完成的任务-小花
  35. Route::get('succlist/flower', "Share\FlowerController@succlist");
  36. // 列表-完成的任务-解锁
  37. Route::get('succlist/lock', "Share\LockController@succlist");
  38. // 列表-完成的任务-现金
  39. Route::get('succlist/redpack', "Share\RedpackController@succlist");
  40. // 列表-完成的任务-开黑
  41. Route::get('succlist/gteam', 'Share\GteamController@succlist');
  42. // 列表-失效的任务-小花
  43. Route::get('faillist/flower', "Share\FlowerController@faillist");
  44. // 列表-失效的任务-解锁
  45. Route::get('faillist/lock', "Share\LockController@faillist");
  46. // 列表-失效的任务-现金
  47. Route::get('faillist/redpack', "Share\RedpackController@faillist");
  48. // 列表-失效的助力-人气值
  49. Route::get('/popularitysharehelp/historylist', "Share\PopularitySharehelpController@historylist");
  50. // 助力-72h
  51. Route::get('/pair/{invite_id}/check', "Fpdx\Invite@invite")->where('invite_id', '[0-9]+');
  52. // 助力-小fa红包
  53. Route::put('flower/{list_id}/check', "Share\FlowerController@check")->where('list_id', '[0-9]+');
  54. // 助力-现金红包分享
  55. Route::put('redpack/{list_id}/check', "Share\RedpackController@check")->where('list_id', '[0-9]+');
  56. // 助力-开黑
  57. Route::put('gteam/{list_id}/check', "Share\GteamController@check")->where('list_id', '[0-9]+');
  58. // 会员助力-开黑
  59. Route::put('gteam/{invite_id}/vipcheck', "Share\GteamController@vipCheck")->where('invite_id', '[0-9]+');
  60. // 助力-喜欢我的解锁分享
  61. Route::put('likeme/{invite_id}/check', "Share\LikemeController@check")->where('invite_id', '[0-9]+');
  62. // 助力-人气值
  63. Route::put('popularitysharehelp/{share_uid}/check', 'Share\PopularitySharehelpController@check');
  64. // 会员助力-72小时活动
  65. Route::put('pair/{invite_id}/vipcheck', "Fpdx\Invite@vipCheck")->where('invite_id', '[0-9]+');
  66. // 气泡-现金红包
  67. Route::get('/redpack/bannerlist', 'Share\RedpackController@bannerlist');
  68. // 气泡-小花红包
  69. Route::get('/flower/bannerlist', 'Share\FlowerController@bannerlist');
  70. // 切换订阅通知-现金红包
  71. Route::put('redpack/{list_id}/notice', "Share\RedpackController@notice")->where('list_id', '[0-9]+');
  72. // 切换订阅通知-小花红包
  73. Route::put('flower/{list_id}/notice', "Share\FlowerController@notice")->where('list_id', '[0-9]+');
  74. // 现金红包-提现
  75. Route::get('redpack/{list_id}/withdraw', 'Share\RedpackController@withdraw')->where('list_id', '[0-9]+');
  76. // 人气值-助力页概览
  77. Route::get('/popularitysharehelp/helpoverview', 'Share\PopularitySharehelpController@helpOverView');