摘要:
文件地址:application/config.php 修改配置项:cors_request_domain //允许跨域的域名,多个以,分隔,* 号表示所有 'cors_request_domain' => 'localhost,127.0.0.1,www.test.com', 阅读全文
摘要:
var token= "your token"; var xhr = new XMLHttpRequest(); xhr.open('GET', 'http://d-web.keenlon.cn/gateway/code'); xhr.setRequestHeader("x-access-token 阅读全文