瀏覽代碼

upload

newCard
HolyKnightIX 2 年之前
父節點
當前提交
9401e6b5a1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      pages/exchangeCard/exchangeCard.js

+ 3
- 3
pages/exchangeCard/exchangeCard.js 查看文件

@@ -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…
取消
儲存