Cardgoods.php 971 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com
  8. * =========================================================
  9. */
  10. namespace app\shop\controller;
  11. /**
  12. * 卡券商品
  13. * Class Cardgoods
  14. * @package app\shop\controller
  15. */
  16. class Cardgoods extends BaseShop
  17. {
  18. /**
  19. * 商品列表
  20. * @return mixed
  21. */
  22. public function lists()
  23. {
  24. return $this->fetch("cardgoods/lists");
  25. }
  26. /**
  27. * 添加商品
  28. * @return mixed
  29. */
  30. public function addGoods()
  31. {
  32. return $this->fetch("cardgoods/add_goods");
  33. }
  34. /**
  35. * 编辑商品
  36. * @return mixed
  37. */
  38. public function editGoods()
  39. {
  40. return $this->fetch("cardgoods/edit_goods");
  41. }
  42. }