PageController.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. /**
  3. * 首页
  4. * @author wesmiler
  5. */
  6. namespace app\weixin\controller;
  7. use app\weixin\model\Wechat;
  8. use cmf\controller\HomeBaseController;
  9. class PageController extends HomeBaseController
  10. {
  11. /**
  12. * 客服
  13. * @return mixed
  14. */
  15. public function custom(){
  16. return $this->fetch(':index/custom');
  17. }
  18. /**
  19. * 关于我们
  20. * @return mixed
  21. */
  22. public function about(){
  23. return $this->fetch(':index/about');
  24. }
  25. /**
  26. * 违规处罚
  27. * @return mixed
  28. */
  29. public function rule(){
  30. return $this->fetch(':index/rule');
  31. }
  32. /**
  33. * 认证说明
  34. * @return mixed
  35. */
  36. public function auth(){
  37. return $this->fetch(':index/auth');
  38. }
  39. /**
  40. * 用户服务协议
  41. * @return mixed
  42. */
  43. public function agree(){
  44. return $this->fetch(':index/agree');
  45. }
  46. /**
  47. * 分销用户服务协议
  48. * @return mixed
  49. */
  50. public function marketAgree(){
  51. return $this->fetch(':index/marketAgree');
  52. }
  53. /**
  54. * 隐私保护政策
  55. * @return mixed
  56. */
  57. public function privacy(){
  58. return $this->fetch(':index/privacy');
  59. }
  60. }
  61. ?>