新增api应用模块

This commit is contained in:
2026-02-07 00:06:27 +08:00
parent badc502fbb
commit 0ed654b5b8
10 changed files with 500 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
declare (strict_types = 1);
namespace app\api\controller;
use app\api\BaseController;
class Index extends BaseController
{
public function index()
{
return '后端运行中...';
}
public function hello($name = 'ThinkPHP8')
{
return 'hello,' . $name;
}
}