-
Notifications
You must be signed in to change notification settings - Fork 26
/
Promova.js
44 lines (35 loc) · 1.09 KB
/
Promova.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
/*************************************
项目名称:Promova
软件版本:6.1.1 Time:2023.8.16
下载地址:https://is.gd/LYD5RA
使用声明:⚠️仅供参考,🈲️转载与售卖!
**************************************
[rewrite_local]
^https:\/\/api\.panda\.boosters\.company\/v1\/subscription-status url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/Promova.js
[mitm]
hostname = api.panda.boosters.company
*************************************/
var body = $response.body;
var obj = JSON.parse(body);
obj = {
"state" : "ok",
"subscriptions" : {
"ios" : [
{
"product_id" : "tenwords_1y_119.99",
"payment_status" : "ok",
"is_intro_offer" : false,
"payment_type" : "trial",
"order_id" : "999999999999",
"duration" : "9999999999999.000000 days",
"is_trial_period" : false,
"subscription_id" : "4093063",
"purchase_time" : "2022-08-16T11:09:15Z",
"expiry_time" : "2022-12-31T11:09:15Z",
"state" : "ok"
}
],
}
}
body = JSON.stringify(obj);
$done({body});