12345678910111213141516171819202122 |
- <?php
- namespace catchAdmin\api\controller;
- use catcher\base\CatchRequest as Request;
- use catcher\CatchResponse;
- use catcher\base\CatchController;
- class Api extends CatchController
- {
- /**
- * 列表
- * @time 2022年09月27日 10:06
- * @param Request $request
- */
- public function index(Request $request) : \think\Response
- {
- return CatchResponse::paginate($this->apiModel->getList());
- }
- }
|