From 78a948535a0254fb4ee17a6a698a90ac0904c686 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Fri, 22 Mar 2019 12:30:22 +0800 Subject: [PATCH] checkUserStatus checkPhoneStatus getDiscountInfo post -> get --- components/gameentry/gentry.js | 2 +- pages/bargain/bargainDatail/bargainDatail.js | 3 +-- pages/cardListDetail/cardListDetail.js | 2 +- pages/coupon/detail/index.js | 4 ++-- pages/discountCardList/discountCardList.js | 2 +- pages/index/index.js | 2 +- pages/joinFrDpell/index.js | 2 +- pages/main/index.wxss | 2 +- pages/passCar/passCar.js | 4 ++-- pages/specialcourtesy/specialcourtesy.js | 2 +- pages/spellGroup/mySpellGroup/index.js | 2 +- project.config.json | 2 +- 12 files changed, 14 insertions(+), 15 deletions(-) diff --git a/components/gameentry/gentry.js b/components/gameentry/gentry.js index 13bf6ea..b55d916 100644 --- a/components/gameentry/gentry.js +++ b/components/gameentry/gentry.js @@ -16,7 +16,7 @@ Component({ methods:{ gotogame: function (e) { let that=this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/pages/bargain/bargainDatail/bargainDatail.js b/pages/bargain/bargainDatail/bargainDatail.js index c29be5f..3aa8b4c 100644 --- a/pages/bargain/bargainDatail/bargainDatail.js +++ b/pages/bargain/bargainDatail/bargainDatail.js @@ -195,7 +195,6 @@ Page({ var total_micro_second = EndTime - NowTime || []; // 渲染倒计时时钟 let obj = that.dateformat(total_micro_second); - console.log(obj); if (total_micro_second > 0) { that.setData({ clock: obj, @@ -301,7 +300,7 @@ Page({ that.setData({ showButton:true }) - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/pages/cardListDetail/cardListDetail.js b/pages/cardListDetail/cardListDetail.js index fe63ddc..ea6a944 100644 --- a/pages/cardListDetail/cardListDetail.js +++ b/pages/cardListDetail/cardListDetail.js @@ -317,7 +317,7 @@ Page({ // wx.showLoading({ // title: "加载中..." // }); - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/pages/coupon/detail/index.js b/pages/coupon/detail/index.js index 5db94af..03fd49c 100644 --- a/pages/coupon/detail/index.js +++ b/pages/coupon/detail/index.js @@ -535,7 +535,7 @@ Page({ }, checkPhoneStatus: function() { let that = this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) @@ -574,7 +574,7 @@ Page({ orderFunc(discount) { console.log(discount) var that = this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/pages/discountCardList/discountCardList.js b/pages/discountCardList/discountCardList.js index 4d0bd23..f2efda5 100644 --- a/pages/discountCardList/discountCardList.js +++ b/pages/discountCardList/discountCardList.js @@ -241,7 +241,7 @@ Page({ }); }, checkuerstatus(){ - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/pages/index/index.js b/pages/index/index.js index 38eff94..bfb79ef 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -58,7 +58,7 @@ Page({ }, checkuerstatus(options) { let that = this; - Http.post({ + Http.get({ url: config.api.checkUserStatus, data: {} }) diff --git a/pages/joinFrDpell/index.js b/pages/joinFrDpell/index.js index 82862c2..f589b53 100644 --- a/pages/joinFrDpell/index.js +++ b/pages/joinFrDpell/index.js @@ -277,7 +277,7 @@ Page({ */ data.orderGroupId = orderGroupId var that = this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/pages/main/index.wxss b/pages/main/index.wxss index 204e455..444c007 100644 --- a/pages/main/index.wxss +++ b/pages/main/index.wxss @@ -37,7 +37,7 @@ page { .game-entry { position: fixed; right: 0; - bottom:200rpx; + bottom:323rpx; width: 120rpx; margin: 37rpx auto 0; z-index: 10; diff --git a/pages/passCar/passCar.js b/pages/passCar/passCar.js index f6a018c..60ca56b 100644 --- a/pages/passCar/passCar.js +++ b/pages/passCar/passCar.js @@ -212,7 +212,7 @@ Page({ that.getList(); that.init(); that.initUsrCarList(); - return Http.post({ + return Http.get({ url: config.api.checkUserStatus, data: {} }); @@ -373,7 +373,7 @@ Page({ /** * 判断是否授权手机号 */ - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/pages/specialcourtesy/specialcourtesy.js b/pages/specialcourtesy/specialcourtesy.js index 71700e3..c03ab7b 100644 --- a/pages/specialcourtesy/specialcourtesy.js +++ b/pages/specialcourtesy/specialcourtesy.js @@ -22,7 +22,7 @@ Page({ */ onShow: function () { let that = this; - Http.post({ + Http.get({ url: config.api.getDiscountInfo, data: {} }) diff --git a/pages/spellGroup/mySpellGroup/index.js b/pages/spellGroup/mySpellGroup/index.js index 3cdd9ec..8c86012 100644 --- a/pages/spellGroup/mySpellGroup/index.js +++ b/pages/spellGroup/mySpellGroup/index.js @@ -267,7 +267,7 @@ Page({ data.orderGroupId = orderGroupId } var that = this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/project.config.json b/project.config.json index 35e906f..b11f49c 100644 --- a/project.config.json +++ b/project.config.json @@ -13,7 +13,7 @@ }, "compileType": "miniprogram", "libVersion": "2.2.0", - "appid": "wx649b3be73c1afe47", + "appid": "wxb11603577a84a86d", "projectname": "C%E7%AB%AF%E5%B0%8F%E7%A8%8B%E5%BA%8F", "isGameTourist": false, "condition": {