Commit afc5bcad by 朱建香

2018/01/03

1.更改model
2.配置请求地址
parent 29132d8d
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
"hijackMode": { "hijackMode": {
20: "hijackingAlarm", 20: "hijackingAlarm",
}, },
"model": "UGEN_SECURITY_SMARTDOOR_YJ2017", "model": "USMARTLOCK_SECURITY_SMARTDOOR_SMART_LOCK",
"GET_MSG_INTERVAL": 5000, "GET_MSG_INTERVAL": 5000,
"wifi_add_timeout": 300000, "wifi_add_timeout": 300000,
//门铃晃动间隔时间 //门铃晃动间隔时间
......
export default {
"url": "https://cloud.iot.u-gen.net/"
}
\ No newline at end of file
import config from './config.js'; import config from './config.js';
import VueI18n from 'vue-i18n'; import VueI18n from 'vue-i18n';
import defaultConfig from './defaultConfig.js';
var VueTouch = require('vue-touch'); var VueTouch = require('vue-touch');
Vue.use(VueTouch); Vue.use(VueTouch);
...@@ -23,7 +24,7 @@ const iot = new UIOT({ ...@@ -23,7 +24,7 @@ const iot = new UIOT({
//96外网 //96外网
// url: 'http://jycinema.u-gen.net' // url: 'http://jycinema.u-gen.net'
//正式 //正式
url: 'https://cloud.iot.u-gen.net/' url: defaultConfig.url
//正式测试 //正式测试
// url: 'https://cloud.iot.u-gen.net/test-openapi/' // url: 'https://cloud.iot.u-gen.net/test-openapi/'
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment