feat: move miniapp server project
This commit is contained in:
parent
4a940f28ba
commit
96d9063b13
178 changed files with 9699 additions and 5044 deletions
24
app/controller/Index.php
Normal file
24
app/controller/Index.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace app\controller;
|
||||
|
||||
use think\App;
|
||||
use app\BaseController;
|
||||
use think\facade\Env;
|
||||
|
||||
class Index extends BaseController
|
||||
{
|
||||
function __construct(App $app)
|
||||
{
|
||||
$this->check_actions = [
|
||||
'#index' => []
|
||||
];
|
||||
parent::__construct($app);
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$re = intval('y12') - 1;
|
||||
return ajaxSuccess($re);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue