Browse Source

upload

newCard
HolyKnightIX 2 years ago
parent
commit
9401e6b5a1
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      pages/exchangeCard/exchangeCard.js

+ 3
- 3
pages/exchangeCard/exchangeCard.js View File

@@ -29,7 +29,7 @@ Page({
this.setData({ this.setData({
code: code code: code
}) })
this.getCardDetail(code)
this.getCardDetailOrGoGive(code)
}, },


// 更改手机号 // 更改手机号
@@ -123,7 +123,7 @@ Page({
}, },


/** 根据卡id查询卡详情*/ /** 根据卡id查询卡详情*/
getCardDetail(cardId, goGive) {
getCardDetailOrGoGive(cardId, goGive) {
const that = this const that = this
Http.get({ Http.get({
url: config.api.getCardDetail, url: config.api.getCardDetail,
@@ -216,7 +216,7 @@ Page({
}, },


goGive() { goGive() {
this.getCardDetail(this.data.code, true)
this.getCardDetailOrGoGive(this.data.code, true)
}, },


// 检查用户登录状态 // 检查用户登录状态


Loading…
Cancel
Save