提交 928394e4 编写于 作者: guangjun.yang's avatar guangjun.yang

device_type:4表示H5登录

上级 2efd6e37
...@@ -27,7 +27,7 @@ export const API_CONFIG = { ...@@ -27,7 +27,7 @@ export const API_CONFIG = {
'deviceInfo': deviceInfo, //设备信息 'deviceInfo': deviceInfo, //设备信息
'productType': 1, // 1表示云鹊医产品系 'productType': 1, // 1表示云鹊医产品系
'sourceType': 4, // 4表示H5登录, 'sourceType': 4, // 4表示H5登录,
'device_type': 1, // 'device_type': 1,
}, },
timeout: 10000, timeout: 10000,
withCredentials: false, withCredentials: false,
......
...@@ -100,7 +100,7 @@ export const detectOS = () => { ...@@ -100,7 +100,7 @@ export const detectOS = () => {
return "other"; return "other";
}; };
export const getDeviceInfo = () => { export const getDeviceInfo = () => {
let deviceInfo = { "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": "" }; let deviceInfo = { "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": "1" };
try{ try{
let terminalType = getTerminalType(); let terminalType = getTerminalType();
let OS = detectOS(); let OS = detectOS();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册