Browse Source

拼团详情分享bug修改

tags/富茂链客4.1.0
刘晖 6 years ago
parent
commit
90cff3b9f6
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      pages/spellGroup/mySpellGroup/index.js

+ 15
- 0
pages/spellGroup/mySpellGroup/index.js View File

@@ -35,6 +35,21 @@ Page({
this.getOneSpell(options.couponId)
this.getUserInfo();
},
getUserInfo: function () {
let that = this;
// 获取用户信息
Http.get({
url: config.api.getScore,
data: {}
})
.then(res => {
console.log(res)
that.setData({
nickName: res.data.nickName,
avatarUrl: res.data.avatarUrl
})
})
},
/**
* 拨打电话
*/


Loading…
Cancel
Save