Przeglądaj źródła

拼团详情分享bug修改

tags/富茂链客4.1.0
刘晖 6 lat temu
rodzic
commit
90cff3b9f6
1 zmienionych plików z 15 dodań i 0 usunięć
  1. +15
    -0
      pages/spellGroup/mySpellGroup/index.js

+ 15
- 0
pages/spellGroup/mySpellGroup/index.js Wyświetl plik

@@ -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
})
})
},
/**
* 拨打电话
*/


Ładowanie…
Anuluj
Zapisz