forked from adsproo/txnews
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshimo.js
More file actions
18 lines (15 loc) · 435 Bytes
/
shimo.js
File metadata and controls
18 lines (15 loc) · 435 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
石墨文档解锁VIP未测试,自行测试
https://api.shimo.im/users/
*/
let obj = JSON.parse($response.body);
obj.membership = {
"accountTypeExpiredAt": "2099-04-30T16:00:00.000Z",
"accountTypeCreatedAt": "2020-03-25T13:09:31.000Z",
"accountType": "personal_premium",
"isEnterprisePremium": true,
"isExpired": false,
"isNewDing": false,
"isOfficial": true
}
$done({body: JSON.stringify(obj)});