Commit bf30f9be by 朱建香

2018/01/03

1.更改请求地址为预发地址
parent 29132d8d
export default {
"url": "https://cloud.iot.u-gen.net/test-openapi/"
}
\ 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