SectionController.php 434 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\api\controller\company;
  3. use app\models\section\section;
  4. use app\Request;
  5. class SectionController
  6. {
  7. public function list(Request $request)
  8. {
  9. $where = UtilService::getMore([
  10. [['page', 'd'], 1],
  11. [['limit', 'd'], 15],
  12. [['status', 0], 1]
  13. ], $request);
  14. $list = SectionModel::systemPage($where);
  15. return app('json')->successful($list);
  16. }
  17. }