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
| import request from "../../../request/index";
| const appApi = {
| // 获取用户消息列表
| getAppMessageList(data) {
| return request({
| url: "/app/api/ApiGetAppMessageList",
| method: "post",
| data
| });
| },
| // 获取用户消息详情
| getMessage(data) {
| return request({
| url: "/app/api/ApiGetMessage",
| method: "post",
| data
| });
| },
|
| //获取凭证
| getTicketResult(data) {
| return request({
| url: "/app/api/ApiGetTicketResult",
| method: "post",
| data
| });
| },
|
| //使用凭证
| useTicket(data) {
| return request({
| url: "/app/api/ApiUseTicket",
| method: "post",
| data
| });
| },
|
| // 获取CmsItem按照Event统计
| getEventRankList(data) {
| return request({
| url: "/app/api/ApiGetEventRankList",
| method: "post",
| data
| });
| },
|
| // 获取学习时长按照Event统计
| getStaticsSum(data) {
| return request({
| url: "/app/api/ApiGetUserStaticsSum",
| method: "post",
| data
| });
| },
| // 新建用户行为
| creatUserBehavior(data) {
| return request({
| url: '/app/api/NewUserBehavior',
| method: 'post',
| data
| })
| },
| // 获取用户行为记录
| getUserBehaviorList(data) {
| return request({
| url: '/app/api/GetUserBehaviorList',
| method: 'post',
| data
| })
| }
| };
|
| export default appApi;
|
|