This commit is contained in:
gaofeng
2026-05-12 18:27:28 +08:00
commit 6d9aee81aa
3664 changed files with 274415 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
declare (strict_types = 1);
namespace app\home\controller;
use think\facade\View;
class Index extends Base
{
public function index()
{
return View::fetch();
}
public function langset()
{
$lang = input('lang') ? input('lang') : 'zh-cn';
parent::langs($lang);
return json([
'code' => 1,
'msg' => lang('controller.success'),
]);
}
}