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