forked from dykj/thinkphp-base-starter
19 lines
255 B
PHP
19 lines
255 B
PHP
<?php
|
|
|
|
namespace app\controller;
|
|
|
|
use app\BaseController;
|
|
|
|
class Index extends BaseController
|
|
{
|
|
public function index()
|
|
{
|
|
return 'index';
|
|
}
|
|
|
|
public function hello($name = 'ThinkPHP8')
|
|
{
|
|
return 'hello,' . $name;
|
|
}
|
|
}
|