forked from ihaoljy/Rewrite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRootd.js
57 lines (48 loc) · 1.53 KB
/
Rootd.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
49
50
51
52
53
54
55
56
57
/*
Rootd 美区2.50.0
[rewrite_local]
^https:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/Rootd.js
[mitm]
hostname = api.revenuecat.com
*/
var Q = JSON.parse($response.body);
Q = {
"request_date_ms" : 1684774345008,
"request_date" : "2023-05-22T16:52:25Z",
"subscriber" : {
"non_subscriptions" : {
},
"first_seen" : "2022-10-17T14:23:20Z",
"original_application_version" : "5077",
"entitlement" : {
},
"other_purchases" : {
},
"management_url" : null,
"subscriptions" : {
"subscription_lifetime" : {
"warning" : "仅供学习,禁止转载或售卖",
"wechat" : "Q",
"purchase_date" : "2022-09-09T09:09:09Z",
"original_purchase_date" : "2022-09-09T09:09:09Z",
"ownership_type" : "PURCHASED",
"expires_date" : "2099-09-09T09:09:09Z"
}
},
"entitlements" : {
"pro" : {
"wechat" : "Q",
"ownership_type" : "PURCHASED",
"product_identifier" : "subscription_lifetime",
"expires_date" : "2099-09-09T09:09:09Z",
"warning" : "仅供学习,禁止转载或售卖",
"original_purchase_date" : "2022-09-09T09:09:09Z",
"purchase_date" : "2022-09-09T09:09:09Z"
}
},
"original_purchase_date" : "2022-10-17T14:12:21Z",
"original_app_user_id" : "$RCAnonymousID:ebc2c4f413f740c284494afbdfec8c93",
"last_seen" : "2022-11-17T11:10:56Z"
}
};
$done({body : JSON.stringify(Q)});