初始化项目:添加后端代码、ThinkPHP框架、前端资源

This commit is contained in:
amb
2026-09-03 12:42:39 +08:00
commit 482bece22e
3726 changed files with 416708 additions and 0 deletions
@@ -0,0 +1,33 @@
<?php
namespace app\api\controller\app\sign;
use app\common\controller\Api;
/**
* 配置
*/
class Config extends Api
{
protected $noNeedLogin = [];
// 无需鉴权的接口,*表示全部
protected $noNeedRight = ['*'];
public function _initialize()
{
parent::_initialize();
\app\common\model\fill\Handle::check('app_config','sign');
$this->model = new \app\common\model\app\agent\Member();
}
public function getConfig(){
$config = \app\common\model\app\Config::getConfig('sign');
$this->success('获取成功',$config);
}
}