| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- // +----------------------------------------------------------------------
- // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
- // +----------------------------------------------------------------------
- // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
- // +----------------------------------------------------------------------
- // | Author: CRMEB Team <admin@crmeb.com>
- // +----------------------------------------------------------------------
- namespace app\controller\api\user;
- use app\common\repositories\user\AwardIntegralPriceRepository;
- use crmeb\basic\BaseController;
- use think\App;
- class Award extends BaseController
- {
- protected $repository;
- public function __construct(App $app, AwardIntegralPriceRepository $repository)
- {
- parent::__construct($app);
- $this->repository = $repository;
- }
- /**
- * 用户反馈列表
- * @return mixed
- * @author xaboy
- * @day 2020/5/28
- */
- public function feedbackList()
- {
- [$page, $limit] = $this->getPage();
- return app('json')->success($this->repository->getList(['uid' => $this->request->uid(),'is_del' => 0], $page, $limit));
- }
- }
|