Icon.php 487 B

123456789101112131415161718
  1. <?php namespace Manage\Api;
  2. use Dever;
  3. use Manage\Lib\Auth;
  4. class Icon extends Auth
  5. {
  6. public function list()
  7. {
  8. $set['num'] = Dever::input('pgnum', '', '', 16);
  9. $key = Dever::input('title');
  10. $where = array();
  11. if ($key) {
  12. $where['key'] = array('like', $key);
  13. }
  14. $data['list'] = Dever::db('icon', 'manage')->select($where, $set);
  15. $data['total'] = Dever::page('total');
  16. return $data;
  17. }
  18. }