diff --git a/config/config.js b/config/config.js index 1139c28..acf9dd0 100755 --- a/config/config.js +++ b/config/config.js @@ -1,7 +1,7 @@ var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; var appId = extConfig.appId; var config = { - url: "https://ciformall.youlane.cn/C/api", + url: "https://ciformall.youlane.cn/C/api", // url:"https://c.malls.iformall.com/C/api", // url:'https://ctest.malls.iformall.com/C/api', // url:'http://10.100.33.68:7000/C/api', @@ -199,7 +199,7 @@ var config = { }, weapp: { - AppId: "wxea71200db93d756b", + AppId: appId }, ErrorCode: { diff --git a/ext.json b/ext.json deleted file mode 100644 index e37dc50..0000000 --- a/ext.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "extEnable": true, - "extAppid": "wxea71200db93d756b", - "ext": { - "appId": "wxea71200db93d756b" - }, - "directCommit": false, - "tabBar": { - "color": "#9F9F9F", - "selectedColor": "#00C0FF", - "list": [ - { - "pagePath": "pages/index/index", - "iconPath": "assets/images/home-n.png", - "selectedIconPath": "assets/images/home-y.png", - "text": "首页" - }, - { - "pagePath": "pages/passCar/passCar", - "iconPath": "assets/images/pass1.png", - "selectedIconPath": "assets/images/pass0.png", - "text": "停车" - }, - { - "pagePath": "pages/user/index", - "iconPath": "assets/images/user-n.png", - "selectedIconPath": "assets/images/user-y.png", - "text": "我的" - } - ] - }, - "window": { - "backgroundTextStyle": "red", - "navigationBarBackgroundColor": "#02C0FF", - "navigationBarTitleText": "WeChat", - "navigationBarTextStyle": "white" - }, - "networkTimeout": { - "request": 30000, - "downloadFile": 10000 - }, - "debug": false -} \ No newline at end of file diff --git a/pages/discountCardList/discountCardList.js b/pages/discountCardList/discountCardList.js index 3203596..1cf3a75 100644 --- a/pages/discountCardList/discountCardList.js +++ b/pages/discountCardList/discountCardList.js @@ -68,16 +68,14 @@ Page({ var param = { pageNum: pageNum, pageSize: 6, - targetAd: 1, - type: "7" + targetAd: 5, }; } else { var param = { pageNum: pageNum, pageSize: 6, business: key, - targetAd: 1, - type: "7" + targetAd: 5, }; } if (that.data.allow_load) { diff --git a/pages/index/index.js b/pages/index/index.js index 8c11df4..d10b867 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -77,6 +77,8 @@ Page({ * 生命周期函数--监听页面初次渲染完成 */ onLoad: function (options) { + console.log("AppId:" + config.weapp.AppId) + console.log("-------------------Yesyyy----------------------------------") wx.setStorageSync('imgurl', imgurl) if (options.played == "true") { this.setData({ diff --git a/project.config.json b/project.config.json index d551a98..23e97be 100644 --- a/project.config.json +++ b/project.config.json @@ -4,7 +4,7 @@ "ignore": [] }, "setting": { - "urlCheck": true, + "urlCheck": false, "es6": true, "postcss": true, "minified": true, @@ -13,7 +13,7 @@ }, "compileType": "miniprogram", "libVersion": "2.0.9", - "appid": "wxea71200db93d756b", + "appid": "wxb11603577a84a86d", "projectname": "C", "isGameTourist": false, "condition": {