| 1234567891011121314151617181920212223 |
- <?php
- /**
- * Created by PhpStorm.
- * User: shenyang
- * Date: 2018/7/12
- * Time: 下午3:35
- */
- namespace app\backend\controllers;
- use app\common\components\BaseController;
- use app\common\exceptions\NotFoundException;
- class NotFoundController extends BaseController
- {
- /**
- * @throws NotFoundException
- */
- public function index(){
- throw new NotFoundException('不存在的页面');
- }
- }
|