18 lines
225 B
PHP
18 lines
225 B
PHP
<?php
|
|
|
|
namespace addons\example\controller;
|
|
|
|
use think\addons\Controller;
|
|
|
|
class Index extends Controller
|
|
{
|
|
|
|
protected $layout = 'default';
|
|
|
|
public function index()
|
|
{
|
|
return $this->view->fetch();
|
|
}
|
|
|
|
}
|