1234567891011121314151617181920212223242526272829303132 |
- <?php
-
-
-
- namespace app\home\controller;
-
- class Error extends Base
- {
- public function _initialize() {
- parent::_initialize();
- }
-
- public function index() {
- $cityName = request()->controller();
- return $this->city($cityName);
- }
-
- protected function city($name)
- {
-
- return '当前城市' . $name;
- }
- }
|