Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / miniprogram-gh-carlife

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • miniprogram-gh-carlife
  • packageEquity
  • pages
  • note
  • note.js
  • zhangquan's avatar
    svn迁移git · 23d98016
    zhangquan committed Jun 04, 2024
    23d98016 Browse Files
note.js 479 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
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
            })
        })
    }

})