初始化

This commit is contained in:
2026-01-06 13:37:07 +08:00
parent c3435595fe
commit 00d7a381aa
70 changed files with 3913 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace app\controller;
use think\facade\Cookie;
use think\Request;
class Index
{
public function test()
{
Cookie::set('name', 'think');
return 'test';
}
public function json(Request $request)
{
return json($request->post());
}
}