/*
 * @Author: your name
 * @Date: 2021-04-19 15:46:08
 * @LastEditTime: 2021-04-19 15:49:28
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /web_TracerMethodology/utils/requestUrl.js
 */
// const base = '192.168.51.80:8801/imed/pfm/';

export const networkType = 1; //网络类型：内网=0，外网=1

// export const URL = '192.168.50.190:8801/imed/pfm/'; // 本地
export const URL = '47.97.190.5:8802/imed/pfm/'; //线上测试
// export const URL = '118.31.245.65:8802/imed/pfm/'; //线上
// export const URL = '112.12.21.134:8111/imed/pfm/'; //横店

//export const URL = '112.12.21.134:8111/imed/pfm/'; //横店

// export const URL = '192.168.1.253:8111/imed/pfm/';
// export const URL = '192.168.1.45:8088/imed/pfm/'; //内网
// export const URL = 's1.nsloop.com:5137/imed/pfm/';  // 外网
// export const URL = '121.43.139.179:8801/imed/pfm/';  // 云端服务1
// export const URL = '172.18.116.20:8801/imed/pfm/';  // 云端服务2

// export const URL = '172.18.116.20:9002/imed/pfm/';  // 云端服务2
export const wsURL = (hiId, user, permission) => {
	return `ws://${URL}websocket/${hiId}/${user}/${permission}`;
}

