init: 从宝塔同步到 Gitea

This commit is contained in:
root
2026-02-25 01:50:31 +08:00
commit e633c8e27d
2444 changed files with 399341 additions and 0 deletions
@@ -0,0 +1,18 @@
<?php
namespace app\onlinechip\controller;
use \think\Controller;
use \think\Session;
use \think\Request;
use \think\Db;
use think\Lang;
class Index Extends Controller{
public function index(){
// 获取语言包
$lang = Lang::get();
$lang = json_encode($lang);
// 渲染参数和模板
$this->assign('lang',$lang);
return $this->fetch();
}
}