Explorar el Código

拼团详情分享bug修改

tags/富茂链客4.1.0
刘晖 hace 6 años
padre
commit
90cff3b9f6
Se han modificado 1 ficheros con 15 adiciones y 0 borrados
  1. +15
    -0
      pages/spellGroup/mySpellGroup/index.js

+ 15
- 0
pages/spellGroup/mySpellGroup/index.js Ver fichero

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


Cargando…
Cancelar
Guardar