添加后台代理代码

This commit is contained in:
2026-03-15 01:27:05 +08:00
parent 11f9ac4dc1
commit ea08c9366a
5254 changed files with 721042 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
header('Access-Control-Allow-Origin:*');// 指定允许其他域名访问
header('Access-Control-Allow-Methods:POST');// 响应类型
header('Access-Control-Allow-Headers:x-requested-with,content-type');
/**
* 登录相关接口
*/
use phprs\Bootstrap;
use phprs\util\Logger;
require '../../framework/bootstrap.inc.php';
require_once IA_ROOT.'/lib/phprs/AutoLoad.php';
Bootstrap::run(IA_ROOT.'/source/conf.php');
use phprs\ezsql\Sql;
?>