@@ -15,7 +15,7 @@ const iosHost = 'wxs://mqtt.test.radio1964.com:8884';
const androidHost = 'wxs://mqtt.test.radio1964.com:8884'
App({
globalData: {
- isRelease: true,
+ isRelease: false,
is_debug: 2, // 1 测试环境 // 2正式环境
baseUrl: env.prod.baseUrl,
@@ -23,8 +23,11 @@ Page({
}
///数据请求
- dRequest.deviceList({ unShowLoad: true }).then((res) => {
+ dRequest.deviceList({
+ unShowLoad: true
+ }).then((res) => {
if (res) {
+ console.log("gadsfqwerqwerqr===" + JSON.stringify(res));
that.setDeviceList(res, true);
});
@@ -58,7 +61,7 @@ Page({
that.setData({
deviceList: devices
- } catch (e) { }
+ } catch (e) {}
},
deviceTap(e) {
@@ -15,6 +15,8 @@ const clientTypes = ["MW-2AX(WIFI)", "MW-2AX(WIFI-N)", "MW-2AX(A)",
"MW-SR1(4G_WIFI_MEIZU01)",
"MW-Mate X(4G_WIFI)",
"MW-X4 (BZK)",
+ ///君正
+ "MW-2AXD",
];
module.exports = {