代码初始化

This commit is contained in:
2025-08-07 20:21:47 +08:00
commit 50f3a2dbb0
2191 changed files with 374790 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace app\api\controller;
use think\Controller;
use think\Db;
class Theme extends controller
{
public function _initialize()
{
//允许跨域
header('Access-Control-Allow-Origin: *');
}
/*
* 启动页列表
* @return array
*
*/
public function get_theme_data()
{
$reslut = DB::name('vs_theme')->where('is_active',1)->where('delete_time',0)->find();
return V(1,'操作成功', $reslut);
}
}