摘要: 文件地址:application/config.php 修改配置项:cors_request_domain //允许跨域的域名,多个以,分隔,* 号表示所有 'cors_request_domain' => 'localhost,127.0.0.1,www.test.com', 阅读全文
posted @ 2023-05-03 21:28 青柚 阅读(781) 评论(0) 推荐(0) 编辑
摘要: var token= "your token"; var xhr = new XMLHttpRequest(); xhr.open('GET', 'http://d-web.keenlon.cn/gateway/code'); xhr.setRequestHeader("x-access-token 阅读全文
posted @ 2023-05-03 21:24 青柚 阅读(0) 评论(0) 推荐(0) 编辑