config.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. // let server = "http://127.0.0.1:81/"
  2. let server = "https://birdseye-api.feiniaotech.sysuimars.cn/"
  3. let serverMock = "https://mock.apipark.cn/m1/4662471-4313509-default/"
  4. // let djiCloudBase = "http://127.0.0.1/";
  5. let djiCloudBase = "https://djiapi.sysuimars.com/";
  6. module.exports = {
  7. base_url :server + "site/",
  8. server_mock :serverMock + "site/",
  9. fly_url: "/fdream-api/api/",
  10. dji_cloud_base :djiCloudBase,
  11. image_url:server+"images/",
  12. base_img_url : "https://img.sysuimars.com/",
  13. base_img_url2 : "https://birdseye-img-ali-cdn.sysuimars.com/",
  14. base_img_url3 : "https://birdseye-img.sysuimars.com/",
  15. base_video_url : "https://minio.sysuimars.com/sysuimars/",
  16. //获取请求头中的参数体
  17. getOptBody : (opt)=>{
  18. return JSON.parse(opt.body);
  19. },
  20. //需要忽略成功提示的请求
  21. igSuccessUrl:[
  22. "update",
  23. "home",
  24. "get",
  25. "page",
  26. "sign",
  27. "List",
  28. "info",
  29. "list",
  30. "air_route",
  31. "find",
  32. ]
  33. }