添加后台代理代码
This commit is contained in:
21
codes/agent/game/api/payment/wechat/pay.php
Normal file
21
codes/agent/game/api/payment/wechat/pay.php
Normal 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;
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user