/*
 * @FilePath: \screenFront\src\utils\devSever.ts
 * @Author: 王路平
 * @文件版本: V1.0.0
 * @Date: 2023-03-03 08:59:37
 * @Description: 
 * 
 * 版权信息         : 2023 by ${再登软件}, All Rights Reserved.
 */

// export const development={xhr:process.env.VUE_APP_BASE_API,ws:"ws://192.168.3.97:9018/",imgxhr:process.env.VUE_APP_BASE_API+"/image/"}
export const development={xhr:process.env.VUE_APP_BASE_API,ws:"ws://8.130.165.100:9018/",imgxhr:process.env.VUE_APP_BASE_API+"/image/"}
export const production={xhr:process.env.VUE_APP_BASE_API,ws:"ws://8.130.165.100:9018/",imgxhr:process.env.VUE_APP_BASE_API+"/image/"}
//拼接图片url路径
export function imgurlAddXhr(img){
    let src=null
    if (process.env.NODE_ENV === "development") {
        src = development.imgxhr + img;
      } else if (process.env.NODE_ENV === "production") {
        src = production.imgxhr + img; //正式环境+
      }
      return src
}

//hu ws
// export const development={xhr:process.env.VUE_APP_BASE_API,ws:"ws://192.168.110.237:9018/",imgxhr:process.env.VUE_APP_BASE_API+"/image/"}