ActivityController.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 bookDetail(){
  39. return $this->fetch();
  40. }
  41. /**
  42. * 缘分互选
  43. * @return mixed
  44. */
  45. public function choose(){
  46. return $this->fetch();
  47. }
  48. /**
  49. * 完善资料
  50. * @return mixed
  51. */
  52. public function profile(){
  53. return $this->fetch();
  54. }
  55. /**
  56. * 匹配
  57. * @return mixed
  58. */
  59. public function match(){
  60. return $this->fetch();
  61. }
  62. }
  63. ?>