切换子系统(可获取子系统中配置的权限)

/js/a/switch/defaultxx(这会返回302重定向到 /js/a/index),这里使用jquery的普通ajax,不要使用promise,无法拿到302返回也就不再去请求/js/a/index

当配置https后,302会转到http去请求(was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint),nginx解决办法如下:

proxy_redirect http:// https://; 

posted on 2023-02-10 17:02  浊浊然  阅读(68)  评论(0编辑  收藏  举报