mine.js 790 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import request from '../utils/request'
  2. //获取志愿者账户详细信息
  3. export function getVolunteerAccountInfo() {
  4. return request({
  5. url: `/core/volunteer/account/getVolunteerAccountInfo`,
  6. method: 'get',
  7. })
  8. }
  9. //志愿者订单统计
  10. export function volunteerOrderStatistics() {
  11. return request({
  12. url: `/core/volunteer/orders/volunteerOrderStatistics`,
  13. method: 'get',
  14. })
  15. }
  16. //查询自己的账户余额
  17. export function getAccountInfo() {
  18. return request({
  19. url: `/core/client/account/info`,
  20. method: 'get',
  21. })
  22. }
  23. //查询用户自己的账户变更记录
  24. export function getAccountChangeList(params) {
  25. return request({
  26. url: `/core/client/account-change`,
  27. method: 'get',
  28. params
  29. })
  30. }