1
jhzh
2026-01-12 e5919c0e9058fd417fb4a8ca5b37013f17ab5b37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import request from '@/utils/request'
import qs from 'qs'
const userApi = {
  agentcashlist: '/agent/cash/list.do', // 资金记录
  agentrechargelist: '/agent/recharge/list.do', // 充值记录
  agentwithdrawlist: '/agent/withdraw/list.do', // 出金记录
  withdrawlist: '/agent/withdraw/list.do', // 提现列表
  withdrawupdateState: '/agent/withdraw/updateState.do', // 提现列表修改状态
}
 
/**
 * login func
 * parameter: {
 *     username: '',
 *     password: '',
 *     remember_me: true,
 *     captcha: '12345'
 * }
 * @param parameter
 * @returns {*}
 */
 
export function agentcashlist (parameter) {
  return request({
    url: userApi.agentcashlist,
    method: 'post',
    data: qs.stringify(parameter)
  })
}
 
export function agentrechargelist (parameter) {
  return request({
    url: userApi.agentrechargelist,
    method: 'post',
    data: qs.stringify(parameter)
  })
}
 
export function agentwithdrawlist (parameter) {
  return request({
    url: userApi.agentwithdrawlist,
    method: 'post',
    data: qs.stringify(parameter)
  })
}
 
export function withdrawlist(parameter) {
  return request({
    url: userApi.withdrawlist,
    method: 'post',
    data: qs.stringify(parameter),
  })
}
 
export function withdrawupdateState(parameter) {
  return request({
    url: userApi.withdrawupdateState,
    method: 'post',
    data: qs.stringify(parameter),
  })
}