From 9401e6b5a15b8efae142bb8bf14cbee39c901920 Mon Sep 17 00:00:00 2001 From: XiaoXinPro 14 IAH5R <568170040@qq.com> Date: Mon, 13 Mar 2023 16:24:24 +0800 Subject: [PATCH] upload --- pages/exchangeCard/exchangeCard.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/exchangeCard/exchangeCard.js b/pages/exchangeCard/exchangeCard.js index 62b3dd7..bdfbd64 100644 --- a/pages/exchangeCard/exchangeCard.js +++ b/pages/exchangeCard/exchangeCard.js @@ -29,7 +29,7 @@ Page({ this.setData({ code: code }) - this.getCardDetail(code) + this.getCardDetailOrGoGive(code) }, // 更改手机号 @@ -123,7 +123,7 @@ Page({ }, /** 根据卡id查询卡详情*/ - getCardDetail(cardId, goGive) { + getCardDetailOrGoGive(cardId, goGive) { const that = this Http.get({ url: config.api.getCardDetail, @@ -216,7 +216,7 @@ Page({ }, goGive() { - this.getCardDetail(this.data.code, true) + this.getCardDetailOrGoGive(this.data.code, true) }, // 检查用户登录状态