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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
| /*
| * @Author: your name
| * @Date: 2021-09-16 17:39:48
| * @LastEditTime: 2023-09-01 11:28:03
| * @LastEditors: zhaoxiaoqiang 287285524@qq.com
| * @Description:这个文件只用作列表和导出接口的使用
| * @FilePath: \qyp-plat\src\api\listapi.js
| */
| import request from "@/utils/request";
|
| let accountApi = {
| // 用户列表
| userList(data) {
| data.sysType = 4;
| return request({
| url: "/user/list",
| method: "post",
| data,
| });
| },
|
| // 角色列表
| roleGetRoleList(data) {
| return request({
| url: "/role/getRoleList",
| method: "post",
| data,
| });
| },
| projectList(data) {
| return request({
| url: "/qyp/project/list",
| method: "post",
| data,
| });
| },
| promoteList(data) {
| return request({
| url: "/qyp/promote/list",
| method: "post",
| data,
| });
| },
| // 管理员订单列表
| orderList(data) {
| return request({
| url: "/qyp/order/orderList",
| method: "post",
| data,
| });
| },
| // 订单列表
| orderBaseList(data) {
| return request({
| url: "/qyp/order/orderBaseList",
| method: "post",
| data,
| });
| },
| payList(data) {
| return request({
| url: "/qyp/order/payList",
| method: "post",
| data,
| });
| },
| // 支付列表
| payPlanList(data) {
| return request({
| url: "/qyp/order/payPlanList",
| method: "post",
| data,
| });
| },
| // 权益领取
| useList(data) {
| return request({
| url: "/qyp/order/useList",
| method: "post",
| data,
| });
| },
| };
| export default accountApi;
|
|