Files
ctms-yii/addons-ctms/access.php
T
2025-07-13 19:37:38 +08:00

19 lines
570 B
PHP
Executable File

<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-15T22:35:59+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2024-06-30T23:54:13+08:00
# @Copyright: www.hiluker.cn
//以下设置用于解决跨域访问的CORS问题,顺便设置来路域名白名单
const ORIGINARR = [
'https://ctms.hiluker.cn',
'http://appgm.ctms.hiluker.cn',
'https://appgm.ctms.hiluker.cn',
'http://h5.ctms.hiluker.cn',
'https://h5.ctms.hiluker.cn',
'*' //开发中使用*,允许所有cors源。上线后注释掉
];