note.js
479 Bytes
import { equityApi } from '../../../api/api'
import { defaultMerchantId } from '../../../api/environment'
Page({
data: {
noteList: [],
noResult: false
},
onLoad(options) {
this.getNoteList()
},
// 会员开通记录
getNoteList() {
equityApi.equityOpenNote({}).then(res => {
this.setData({
noteList: res,
noResult: res.length ? false : true
})
})
}
})