123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- import request from '../utils/request'
- //获取志愿者账户详细信息
- export function getVolunteerAccountInfo() {
- return request({
- url: `/core/volunteer/account/getVolunteerAccountInfo`,
- method: 'get',
- })
- }
- //志愿者订单统计
- export function volunteerOrderStatistics() {
- return request({
- url: `/core/volunteer/orders/volunteerOrderStatistics`,
- method: 'get',
- })
- }
- //查询自己的账户余额
- export function getAccountInfo() {
- return request({
- url: `/core/client/account/info`,
- method: 'get',
- })
- }
- //查询用户自己的账户变更记录
- export function getAccountChangeList(params) {
- return request({
- url: `/core/client/account-change`,
- method: 'get',
- params
- })
- }
- //查询用户的总收入和总支出
- export function getTotalMoney(params) {
- return request({
- url: `/core/client/account-change/totalMoney`,
- method: 'get',
- params
- })
- }
- //查询用户的总收入和总支出 志愿者
- export function getVolunteerTotalMoney(params) {
- return request({
- url: `/core/volunteer/account-change/totalMoney`,
- method: 'get',
- params
- })
- }
- //查询用户自己的账户变更记录 志愿者
- export function getVolunteerChangeList(params) {
- return request({
- url: `/core/volunteer/account-change/changeList`,
- method: 'get',
- params
- })
- }
- //提交提现申请
- export function submitAmountApply(data) {
- return request({
- url: `/core/volunteer/account/submitAmountApply`,
- method: 'post',
- data
- })
- }
- //获取当前用户提现状态
- // export function getWithdrawStatus() {
- // return request({
- // url: `/core/volunteer/account/getWithdrawStatus`,
- // method: 'get',
- // })
- // }
- export function getWithdrawStatus() {
- return request({
- url: `/core/volunteer/take/mini/list`,
- method: 'get',
- })
- }
- //账单详情
- export function getIncomeDetails(volunteerTakeRecordId) {
- return request({
- url: `/core/volunteer/take/${volunteerTakeRecordId}`,
- method: 'get',
- })
- }
- // 他人账户提现回显
- export function vonTtAlipayAccountHistory() {
- return request({
- url: `/core/volunteer/take/getAlipayAccountHistory`,
- method: 'get',
- })
- }
- // 撤销提现
- export function volEetCancelTake(params) {
- return request({
- url: `/core/volunteer/account/cancelTake`,
- method: 'get',
- params
- })
- }
|