Commit aa7013a1 authored by 高宇's avatar 高宇

会员码只差对二维码的接口

parent 2f4190ce
......@@ -34,8 +34,14 @@
},
methods:{
getList(){
const that = this
const baseApi = this.baseApi
this.$u.get('/mobile/memberBenefits/queryMemberBenefits').then(res => {
uni.getStorage({
key: 'business',
success:function(Lres){
console.log('商圈信息',Lres.data)
const text = Lres.data.id
that.$u.get('/mobile/memberBenefits/queryMemberBenefits?tenantId='+ text).then(res => {
let list = res
for(const index in list) {
console.log('index',index)
......@@ -43,9 +49,12 @@
item.image = baseApi + '/file/getImgStream?idFile=' + item.membershipCard
item.rankCard = baseApi + '/file/getImgStream?idFile=' + item.rankCard
}
this.list2 = list
this.src = this.list2[0].rankCard
that.list2 = list
that.src = that.list2[0].rankCard
})
}
})
},
handleChange(e){
console.log('e',e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment