Contact.php 698 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace app\home\controller;
  3. use think\Lang;
  4. use think\Cache;
  5. use think\Request;
  6. use think\Controller;
  7. use think\Validate;
  8. /**
  9. * 主页管理类
  10. */
  11. class Contact extends Controller
  12. {
  13. /**
  14. * 构造函数
  15. *
  16. * @access public
  17. */
  18. public function __construct()
  19. {
  20. parent::__construct();
  21. }
  22. /**
  23. * 产品与服务
  24. *
  25. * @access public
  26. * @return array JsonString
  27. */
  28. public function contact()
  29. {
  30. return $this->fetch();
  31. }
  32. /**
  33. * 产品与服务详情
  34. *
  35. * @access public
  36. * @return array JsonString
  37. */
  38. public function details()
  39. {
  40. return $this->fetch();
  41. }
  42. }