let server = VE_ENV.SERVER
let serverMock = "https://mock.apipark.cn/m1/4662471-4313509-default/"
let pythonServe = VE_ENV.PYSERVER
let djiCloudBase = "https://djiapi.sysuimars.com/";

module.exports = {
    base_url :server + "site/",
    base_dev_url :server + "mini/",
    base_url_python: pythonServe,
    server_mock :serverMock + "site/",
    dji_cloud_base :djiCloudBase,
    mini_key:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9",
    image_url:server+"images/",
    base_img_url : "https://birdseye-img.sysuimars.com/",
    base_img_url2 : "https://birdseye-img-ali-cdn.sysuimars.com/",
    base_img_url3 : "https://birdseye-img.sysuimars.com/",
    base_video_url : "https://minio.sysuimars.com/sysuimars/",
    //获取请求头中的参数体
    getOptBody : (opt)=>{
        return JSON.parse(opt.body);
    },
    //需要忽略成功提示的请求
    igSuccessUrl:[
        "update",
        "home",
        "get",
        "page",
        "sign",
        "List",
        "info",
        "list",
        "air_route",
        "find",
        "poi",
        "land_check",
        "bbs_my",
        "farm",
        "pointByRegionId",
        "temp_blue_region",
        "weatherRiskVirtualFarmList",

    ]
}
