AccumulatePointsLog.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 萤火商城系统 [ 致力于通过产品和服务,帮助商家高效化开拓市场 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2017~2021 https://www.yiovo.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed 这不是一个自由软件,不允许对程序代码以任何形式任何目的的再发行
  8. // +----------------------------------------------------------------------
  9. // | Author: 萤火科技 <admin@yiovo.com>
  10. // +----------------------------------------------------------------------
  11. declare (strict_types = 1);
  12. namespace app\store\controller\user;
  13. use app\store\controller\Controller;
  14. use app\store\model\user\BalanceLog as BalanceLogModel;
  15. /**
  16. * 余额明细
  17. * Class AccumulatePointsLog
  18. * @package app\store\controller\user
  19. */
  20. class AccumulatePointsLog extends Controller
  21. {
  22. /**
  23. * 余额明细
  24. * @return mixed
  25. */
  26. public function log()
  27. {
  28. $model = new \app\store\model\user\AccumulatePointsLog();
  29. $list = $model->getList($this->request->param());
  30. return $this->renderSuccess(compact('list'));
  31. }
  32. }