NoticeLog.php 442 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\api\controller\v1;
  3. use app\api\controller\Base;
  4. use app\hander\HelpHander;
  5. class NoticeLog 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. $noticeId = input('noticeId/d',0);
  13. $ret = model('Notice')->noticeLog($page,$size,$noticeId,$status);
  14. HelpHander::success($ret);
  15. }
  16. }