WriteOff.php 852 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace app\admin\controller\ump;
  3. use app\admin\controller\AuthController;
  4. use app\admin\model\store\StoreCategory as CategoryModel;
  5. use app\admin\model\system\SystemStore;
  6. use think\facade\Route as Url;
  7. use app\admin\model\wechat\WechatUser as UserModel;
  8. use crmeb\services\{FormBuilder as Form, UtilService as Util, JsonService as Json};
  9. /**
  10. * 优惠券控制器
  11. * Class StoreCategory
  12. * @package app\admin\controller\system
  13. */
  14. class WriteOff extends AuthController
  15. {
  16. /**
  17. * @return mixed
  18. */
  19. public function index()
  20. {
  21. $where = Util::getMore([
  22. ['status', ''],
  23. ['title', ''],
  24. ['type','']
  25. ], $this->request);
  26. $this->assign('where', $where);
  27. $this->assign(\app\admin\model\ump\WriteOff::systemPage($where));
  28. return $this->fetch();
  29. }
  30. }