From bd01d62ef547c0e67f895078087545d6a00113a6 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Wed, 27 Mar 2019 12:51:05 +0800 Subject: [PATCH] checkUserStatus checkPhoneStatus getDiscountInfo post -> get --- components/gameentry/gentry.js | 2 +- pages/bargain/bargainDatail/bargainDatail.js | 4 ++-- 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.js | 2 +- pages/passCar/passCar.js | 4 ++-- pages/specialcourtesy/specialcourtesy.js | 2 +- pages/spellGroup/mySpellGroup/index.js | 2 +- 11 files changed, 14 insertions(+), 14 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 c2f3836..473d188 100644 --- a/pages/bargain/bargainDatail/bargainDatail.js +++ b/pages/bargain/bargainDatail/bargainDatail.js @@ -300,7 +300,7 @@ Page({ that.setData({ showButton: true }) - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) @@ -510,7 +510,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 401a754..4833f0a 100644 --- a/pages/coupon/detail/index.js +++ b/pages/coupon/detail/index.js @@ -539,7 +539,7 @@ Page({ }, checkPhoneStatus: function() { let that = this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) @@ -578,7 +578,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 23bd5de..b6abd61 100644 --- a/pages/joinFrDpell/index.js +++ b/pages/joinFrDpell/index.js @@ -279,7 +279,7 @@ Page({ */ data.orderGroupId = orderGroupId var that = this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) diff --git a/pages/main/index.js b/pages/main/index.js index 59dc778..493ccb8 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -147,7 +147,7 @@ Page({ }, gotogame: function() { let that = this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} }) 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 ca19f28..bbf9471 100644 --- a/pages/spellGroup/mySpellGroup/index.js +++ b/pages/spellGroup/mySpellGroup/index.js @@ -271,7 +271,7 @@ Page({ data.orderGroupId = orderGroupId } var that = this; - Http.post({ + Http.get({ url: config.api.checkPhoneStatus, data: {} })