1 changed files with 12 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
<?php |
||||
|
namespace app\controller; |
||||
|
|
||||
|
use app\BaseController; |
||||
|
|
||||
|
class User extends BaseController |
||||
|
{ |
||||
|
public function hello($name = 'ThinkPHP6') |
||||
|
{ |
||||
|
return 'hello,' . $name; |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue