Browse Source

正式v1.0.3版本配置

feature/v1.1.0
lfs3 7 years ago
parent
commit
18b812e402
3 changed files with 5 additions and 4 deletions
  1. 4
      app.js
  2. 3
      pages/at_present/at_present.js
  3. 2
      project.config.json

4
app.js

@ -1,8 +1,8 @@
//app.js //app.js
App({ App({
gw: { gw: {
// hostUrl: 'https://www.1hjz.cn',
hostUrl: 'https://test.1hjz.cn/',
hostUrl: 'https://www.1hjz.cn',
//hostUrl: 'https://test.1hjz.cn/',
mapUrl:'https://api.map.baidu.com', mapUrl:'https://api.map.baidu.com',
systemInfo : null,//系统信息 systemInfo : null,//系统信息
}, },

3
pages/at_present/at_present.js

@ -23,7 +23,8 @@ Page({
onLoad: function(options) { onLoad: function(options) {
// let that = this;  // let that = this; 
qqmapsdk = new QQMapWX({ qqmapsdk = new QQMapWX({
key: 'C5KBZ-RISKD-INW4P-PWYQJ-QC6C7-BQBGC'
// key: 'C5KBZ-RISKD-INW4P-PWYQJ-QC6C7-BQBGC'//测试
key: 'JN7BZ-MJBK5-52SIH-QOKGH-FJE5F-IWFGG'//正式
}); });
}, },
//  onShow: function () { //  onShow: function () {

2
project.config.json

@ -8,7 +8,7 @@
"newFeature": true "newFeature": true
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"appid": "wx2c28390f4f2c0888",
"appid": "wxfdea8f72e0cffff0",
"libVersion": "2.0.9", "libVersion": "2.0.9",
"projectname": "%E4%BA%8C%E5%8F%B7%E5%AE%B6%E6%94%BF%EF%BC%88%E4%BA%8C%E5%8F%B7%EF%BC%89", "projectname": "%E4%BA%8C%E5%8F%B7%E5%AE%B6%E6%94%BF%EF%BC%88%E4%BA%8C%E5%8F%B7%EF%BC%89",
"condition": { "condition": {

Loading…
Cancel
Save