bill.js 341 B

123456789101112131415161718
  1. import request from '@/api'
  2. const openid = uni.getStorageSync('openid')
  3. const billService = {
  4. // 获取我的账单列表
  5. getBillList: params => request.postForm('/bill/list', {
  6. ...params,
  7. openid
  8. }),
  9. // 获取我的账单列表
  10. getBillDetail: id => request.postForm('/bill/info', {
  11. id,
  12. openid
  13. })
  14. }
  15. export default billService