ArticleLog.php 447 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\api\controller\v1;
  3. use app\api\controller\Base;
  4. use app\hander\HelpHander;
  5. class ArticleLog extends Base
  6. {
  7. // 列表
  8. public function list(){
  9. $page = input('page/d',1);
  10. $size = input('size/d',10);
  11. $status = input('status/d',-1);
  12. $articleId = input('articleId/d',0);
  13. $ret = model('Article')->noticeLog($page,$size,$articleId,$status);
  14. HelpHander::success($ret);
  15. }
  16. }