12345678910111213141516171819202122232425262728 |
- <?php
- namespace app\adminapi\controller\v1\company;
- use app\adminapi\controller\AuthController;
- use crmeb\services\{UtilService as Util};
- use app\models\section\SectionModel;
- use app\models\company\CompanyModel;
- use think\Request;
- class Company extends AuthController
- {
- /**
- * 显示资源列表
- *
- * @return \think\Response
- */
- public function index()
- {
- $where = Util::getMore([
- ['title', ''],
- ['sid', 0],
- ['page', 1],
- ['limit', 10]
- ], $this->request);
- $list = CompanyModel::systemPage($where);
- return $this->success($list);
- }
|