ajax请求出现504 怎么解决

mui.min.js:7 OPTIONS https://api.allsales.cc/api/tqk/itmes/?itmeid=559538174519 405 (Not Allowed)

a.ajax @ mui.min.js:7

(anonymous) @ itme.html:141

itme.html:1 Failed to load https://api.allsales.cc/api/tqk/itmes/?itmeid=559538174519: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access. The response had HTTP status code 405.

2018-01-06 17:05 添加评论 分享