钱包详情 /v2/activities/coin/account/find4Client GET QUERY

参数名 参数类型 参数描述 必选
type number 1:米 2:积分

返回结构:

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": {
    "id": "2",
    "type": 1,
    "userId": "50052",
    "balance": 78,
    "createTime": "2022-08-04T08:08:23.000Z",
    "updateTime": "2022-08-09T03:10:52.000Z"
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

结构参数:

参数名 参数类型 参数描述
id string
type number 1:米 2:积分
userId string
balance number 余额

钱包提现 /v2/activities/coin/account/cash4Client POST JSON

参数名 参数类型 参数描述 必选
reUserName string 实名
amount number 数额

钱包流水 /v2/activities/coin/record/list4Client GET QUERY

参数名 参数类型 参数描述 必选
skip number 略过数
limit number 提取数
coinAccountType number 1:米 2:积分

返回结构:

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": {
    "skip": "0",
    "limit": "5",
    "totalItem": 37,
    "dataList": [
      {
        "id": "37",
        "coinAccountId": "2",
        "coinAccountType": 1,
        "targetCoinAccountId": "0",
        "changedAmount": -30,
        "beforeBalance": 108,
        "afterBalance": 78,
        "extra": "{\"mark\":\"奖励提现\"}",
        "createTime": "2022-08-09T03:10:52.000Z",
        "updateTime": "2022-08-09T03:10:52.000Z"
      },
      {
        "id": "36",
        "coinAccountId": "2",
        "coinAccountType": 1,
        "targetCoinAccountId": "0",
        "changedAmount": 10,
        "beforeBalance": 98,
        "afterBalance": 108,
        "extra": "{\"mark\":\"提现失败\"}",
        "createTime": "2022-08-09T03:10:40.000Z",
        "updateTime": "2022-08-09T03:10:40.000Z"
      },
      {
        "id": "35",
        "coinAccountId": "2",
        "coinAccountType": 1,
        "targetCoinAccountId": "0",
        "changedAmount": -10,
        "beforeBalance": 108,
        "afterBalance": 98,
        "extra": "{\"mark\":\"奖励提现\"}",
        "createTime": "2022-08-09T03:10:39.000Z",
        "updateTime": "2022-08-09T03:10:39.000Z"
      },
      {
        "id": "33",
        "coinAccountId": "2",
        "coinAccountType": 1,
        "targetCoinAccountId": "0",
        "changedAmount": -20,
        "beforeBalance": 108,
        "afterBalance": 88,
        "extra": "{\"mark\":\"奖励提现\"}",
        "createTime": "2022-08-09T03:10:25.000Z",
        "updateTime": "2022-08-09T03:10:25.000Z"
      },
      {
        "id": "34",
        "coinAccountId": "2",
        "coinAccountType": 1,
        "targetCoinAccountId": "0",
        "changedAmount": 20,
        "beforeBalance": 88,
        "afterBalance": 108,
        "extra": "{\"mark\":\"提现失败\"}",
        "createTime": "2022-08-09T03:10:25.000Z",
        "updateTime": "2022-08-09T03:10:25.000Z"
      }
    ]
  }
}
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

结构参数:

参数名 参数类型 参数描述
id string
coinAccountId string 操作的钱包id
coinAccountType number 1:米 2:积分
targetCoinAccountId string 关联的钱包id,为0表示系统操作
changeAmount number 改变的数额
beforeBalance number 改变前的数额
afterBalance number 改变后的数额
extra any 额外的信息,比如转账信息

收益排行 /v2/activities/coin/record/rank POST JSON

参数名 参数类型 参数描述 必选
coinAccountType number 种类 1:米 2:积分
limit number 数目

返回结构:

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": [
    {
      "userId": "50092",
      "coinAccountId": "2",
      "coinAccountType": 1,
      "balance": "71",
      "num": "1",
      "createTime": "2022-08-30T03:21:56.000Z",
      "username": "cht1046"
    },
    {
      "userId": "50123",
      "coinAccountId": "33",
      "coinAccountType": 1,
      "balance": "35",
      "num": "2",
      "createTime": "2022-10-27T07:11:27.000Z",
      "username": "ch14272"
    },
    {
      "userId": "50125",
      "coinAccountId": "34",
      "coinAccountType": 1,
      "balance": "30",
      "num": "3",
      "createTime": "2022-10-28T02:46:53.000Z",
      "username": "ch1017"
    },
    {
      "userId": "50031",
      "coinAccountId": "7",
      "coinAccountType": 1,
      "balance": "27",
      "num": "4",
      "createTime": "2022-09-02T09:27:31.000Z",
      "username": "Freelog"
    },
    {
      "userId": "50022",
      "coinAccountId": "4",
      "coinAccountType": 1,
      "balance": "24",
      "num": "5",
      "createTime": "2023-08-08T07:09:04.000Z",
      "username": "chtes"
    },
    {
      "userId": "50100",
      "coinAccountId": "5",
      "coinAccountType": 1,
      "balance": "22",
      "num": "6",
      "createTime": "2022-09-13T09:42:36.000Z",
      "username": "ch1458"
    },
    {
      "userId": "50102",
      "coinAccountId": "9",
      "coinAccountType": 1,
      "balance": "14",
      "num": "7",
      "createTime": "2022-09-14T08:54:24.000Z",
      "username": "ch1247"
    },
    {
      "userId": "50147",
      "coinAccountId": "36",
      "coinAccountType": 1,
      "balance": "13",
      "num": "8",
      "createTime": "2023-05-18T07:28:43.000Z",
      "username": "ch1135"
    },
    {
      "userId": "50146",
      "coinAccountId": "38",
      "coinAccountType": 1,
      "balance": "13",
      "num": "9",
      "createTime": "2023-08-08T07:08:09.000Z",
      "username": "xiaocai"
    },
    {
      "userId": "50101",
      "coinAccountId": "6",
      "coinAccountType": 1,
      "balance": "12",
      "num": "10",
      "createTime": "2022-09-02T09:05:35.000Z",
      "username": "ch1511"
    },
    {
      "userId": "50103",
      "coinAccountId": "8",
      "coinAccountType": 1,
      "balance": "12",
      "num": "11",
      "createTime": "2022-09-06T04:58:09.000Z",
      "username": "ch1253"
    },
    {
      "userId": "50113",
      "coinAccountId": "26",
      "coinAccountType": 1,
      "balance": "12",
      "num": "12",
      "createTime": "2022-09-29T07:16:16.000Z",
      "username": "ch1427"
    },
    {
      "userId": "50145",
      "coinAccountId": "35",
      "coinAccountType": 1,
      "balance": "11",
      "num": "13",
      "createTime": "2023-08-08T07:08:09.000Z",
      "username": "luojiutian"
    },
    {
      "userId": "50104",
      "coinAccountId": "11",
      "coinAccountType": 1,
      "balance": "11",
      "num": "14",
      "createTime": "2023-08-08T07:09:04.000Z",
      "username": "ch1651"
    },
    {
      "userId": "50110",
      "coinAccountId": "20",
      "coinAccountType": 1,
      "balance": "10",
      "num": "15",
      "createTime": "2022-09-21T07:54:36.000Z",
      "username": "ch1553"
    }
  ]
}
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143

结构参数:

参数名 参数类型 参数描述
userId string 用户id
coinAccountId string 钱包id
coinAccountType number 钱包类型 1:米 2:积分
balance number 收益
num number 排名序号
createTime DateTime 收益更新时间
username string 用户账号

收益详情 /v2/activities/coin/record/rankInfo POST JSON

参数名 参数类型 参数描述 必选
coinAccountType number 种类 1:米 2:积分

返回结构:

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": {
    "balance": "21",
    "sortNum": 6,
    "beforeBalance": 3
  }
}
1
2
3
4
5
6
7
8
9
10
11

结构参数:

参数名 参数类型 参数描述
balance number 当前收益
sortNum number 排名
beforeBalance number 距离上一名的收益差