Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

StoreServiceFeedbackDao.php 838B

il y a 2 ans
123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace app\dao\message\service;
  3. use app\dao\BaseDao;
  4. use app\model\message\service\StoreServiceFeedback;
  5. /**
  6. * Class StoreServiceFeedbackDao
  7. * @package app\dao\message\service
  8. */
  9. class StoreServiceFeedbackDao extends BaseDao
  10. {
  11. protected function setModel(): string
  12. {
  13. return StoreServiceFeedback::class;
  14. }
  15. /**
  16. * 获取用户反馈信息列表
  17. * @param array $where
  18. * @param int $page
  19. * @param int $limit
  20. * @return array
  21. * @throws \think\db\exception\DataNotFoundException
  22. * @throws \think\db\exception\DbException
  23. * @throws \think\db\exception\ModelNotFoundException
  24. */
  25. public function getFeedback(array $where, int $page, int $limit)
  26. {
  27. return $this->search($where)->page($page, $limit)->order('id DESC')->select()->toArray();
  28. }
  29. }