Files
ctms-yii/addons-ctms/access.php
T
2025-07-13 20:12:59 +08:00

12 lines
359 B
PHP
Executable File

<?php
//以下设置用于解决跨域访问的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源。上线后注释掉
];