|
@@ -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) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 检查用户登录状态 |
|
|
// 检查用户登录状态 |
|
|