You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 line
416 B

  1. //api地址
  2. var serverurl = "http://localhost:31173";
  3. //当前项目地址
  4. var currentUrl = "http://192.168.50.3:8082";
  5. //地址栏传参
  6. function request(d) {
  7. for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) {
  8. var b = c[a].split("=");
  9. if (b[0] == d)
  10. if ("undefined" == unescape(b[1])) break;
  11. else return unescape(b[1])
  12. }
  13. return ""
  14. };