ActivityController.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?php
  2. /**
  3. * 首页
  4. * @author wesmiler
  5. */
  6. namespace app\weixin\controller;
  7. class ActivityController extends BaseController
  8. {
  9. /**
  10. * 首页
  11. * @return mixed
  12. */
  13. public function index(){
  14. return $this->fetch(':index');
  15. }
  16. /**
  17. * 活动详情
  18. * @return mixed
  19. */
  20. public function detail(){
  21. return $this->fetch();
  22. }
  23. /**
  24. * 活动报名页
  25. * @return mixed
  26. */
  27. public function book(){
  28. $sid = input('sid', 0);
  29. if($sid){
  30. session('sid', input('sid', 0));
  31. }
  32. return $this->fetch();
  33. }
  34. /**
  35. * 活动报名页
  36. * @return mixed
  37. */
  38. public function top(){
  39. $sid = input('sid', 0);
  40. if($sid){
  41. session('sid', input('sid', 0));
  42. }
  43. return $this->fetch();
  44. }
  45. /**
  46. * 报名详情
  47. * @return mixed
  48. */
  49. public function bookDetail(){
  50. return $this->fetch();
  51. }
  52. /**
  53. * 缘分互选
  54. * @return mixed
  55. */
  56. public function choose(){
  57. return $this->fetch();
  58. }
  59. /**
  60. * 完善资料
  61. * @return mixed
  62. */
  63. public function profile(){
  64. return $this->fetch();
  65. }
  66. /**
  67. * 匹配
  68. * @return mixed
  69. */
  70. public function match(){
  71. return $this->fetch();
  72. }
  73. }
  74. ?>