-
Notifications
You must be signed in to change notification settings - Fork 0
/
mumu.js
48 lines (48 loc) · 1.27 KB
/
mumu.js
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
let body = JSON.parse($response.body);
/**
* @url: https://api-pro.mumu.163.com/api/v1/user/info
* @body: json
{
"code": 0,
"msg": "ok",
"data": {
"user_id": "aebglmpozaaaabua",
"nickname": "MacBook Pro",
"member_expired_at": 0,
"member_status": 0,
"enabled_device_count": 1,
"current_device_status": 1,
"current_device": {
"device_id": "aeawlmporaaaabvm",
"alias": "MacBook Pro",
"last_binded_at": 1710418935,
"trial_end_at": 1707839999,
"trial_status": 2
}
}
}
*/
// body?.data?.member_expired_at=7;
// body?.data?.member_status=1;
// body?.data?.current_devic?.trial_end_at=17078399990;
// body?.data?.current_devic?.trial_status=1;
body = JSON.stringify({
"code": 0,
"msg": "ok",
"data": {
"user_id": "aebglmpozaaaabua",
"nickname": "MacBook Pro",
"member_expired_at": 7,
"member_status": 1,
"enabled_device_count": 1,
"current_device_status": 1,
"current_device": {
"device_id": "aeawlmporaaaabvm",
"alias": "MacBook Pro",
"last_binded_at": 1710418935,
"trial_end_at": 17078399990,
"trial_status": 1
}
}
})
$done({ body });