add_header Access-Control-Allow-Origin "*";注意这样是很不安全的,建议把 * 改成可信的域名,如
add_header Access-Control-Allow-Origin "wenda.wecenter.com";或
add_header Access-Control-Allow-Origin "*.wecenter.com";apache:
<IFModule mod_headers.c> Header add Access-Control-Allow-Origin "*" </IFModule>