我在控制台中收到此错误:
SUCCESS
我该如何解决这个问题?
我已将此添加到我的.htaccess:
启用mod_header +重启apache。
XMLHttpRequest cannot load https://example.com/shop/xx/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://example.com' is therefore not allowed access.