Express.php 556 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace addons\shopro\controller\data;
  3. use addons\shopro\controller\Common;
  4. use think\Db;
  5. /**
  6. * 快递公司
  7. */
  8. class Express extends Common
  9. {
  10. protected $noNeedLogin = ['index'];
  11. protected $noNeedRight = ['*'];
  12. /**
  13. * 查看
  14. *
  15. * @return string|Json
  16. * @throws \think\Exception
  17. * @throws DbException
  18. */
  19. public function index()
  20. {
  21. $model = new \app\admin\model\shopro\data\Express;
  22. $list = $model->sheepFilter()->select();
  23. $this->success('', null, $list);
  24. }
  25. }