WechatMessage.php 741 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace app\admin\controller\wechat;
  3. use app\admin\controller\AuthController;
  4. use app\admin\model\wechat\WechatMessage as MessageModel;
  5. use crmeb\services\UtilService as Util;
  6. /**
  7. * 用户扫码点击事件
  8. * Class SystemMessage
  9. * @package app\admin\controller\system
  10. */
  11. class WechatMessage extends AuthController
  12. {
  13. /**
  14. * 显示操作记录
  15. */
  16. public function index()
  17. {
  18. $where = Util::getMore([
  19. ['nickname', ''],
  20. ['type', ''],
  21. ['data', ''],
  22. ], $this->request);
  23. $this->assign('where', $where);
  24. $this->assign('mold', MessageModel::$mold);
  25. $this->assign(MessageModel::systemPage($where));
  26. return $this->fetch();
  27. }
  28. }