123456789101112131415161718192021222324 |
- <?php
- namespace Atom\Service\Article;
- use Dever;
- /**
- * 文章类
- */
- class Data
- {
- public function get_api($callback)
- {
- //Dever::debug(11);
- return $callback;
- }
- public function get()
- {
- return Dever::url();
- $param['option_title'] = array('邹游:最具学者胸怀和气质的设计师', 'like');
- $param['group'] = 'nid';
- $param['limit'] = '0,10';
- $data = Dever::db('atom/article')->all($param);
- return $data;
- }
- }
|