Data.php 500 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Atom\Service\Article;
  3. use Dever;
  4. /**
  5. * 文章类
  6. */
  7. class Data
  8. {
  9. public function get_api($callback)
  10. {
  11. //Dever::debug(11);
  12. return $callback;
  13. }
  14. public function get()
  15. {
  16. return Dever::url();
  17. $param['option_title'] = array('邹游:最具学者胸怀和气质的设计师', 'like');
  18. $param['group'] = 'nid';
  19. $param['limit'] = '0,10';
  20. $data = Dever::db('atom/article')->all($param);
  21. return $data;
  22. }
  23. }