沈丘营商办后台前端项目
王恒
5 天以前 4ebc73199bcd4b23739a2e1d22c372e8081310c5
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
import request from "@/utils/request";
 
// 用户收益列表
export const getWallet = (query: Record<string, any>) => {
  return request<RespondPageType>({
    url: "/report/wallet/getWalletReport",
    method: "get",
    params: query,
  });
};
 
// 收益明细列表
export const getWalletMx = (query: Record<string, any>) => {
  return request<RespondPageType>({
    url: "/report/wallet/getWalletMx",
    method: "get",
    params: query,
  });
};
 
// 收益明细合计
export const getWalletMxTotal = (query: Record<string, any>) => {
  return request<RespondDataType>({
    url: "/report/wallet/getWalletMxTotal",
    method: "get",
    params: query,
  });
};
 
// 收益详情
export const getWalletMxView = (query: Record<string, any>) => {
  return request<RespondDataType>({
    url: "/report/wallet/getWalletMxView",
    method: "get",
    params: query,
  });
};
 
// 用户查询联想
export const getUserByKeyword = (query: Record<string, any>) => {
  return request<RespondDataType>({
    url: "/report/wallet/getUserByKeyword",
    method: "get",
    params: query,
  });
};
 
// 用户收益批量解冻
export const batchThawProfit = (data: Record<string, any>) => {
  return request<RespondDataType>({
    url: "/transaction/account/batchThawProfit",
    method: "post",
    data: data,
  });
};