🛏 feat: 新增 Pillow 解锁
This commit is contained in:
parent
f4d72f8d90
commit
d4893f8d05
|
@ -0,0 +1,8 @@
|
|||
##############################
|
||||
# Pillow 订阅解锁
|
||||
# LastUpdateDate: 2024-01-14 19:09:49
|
||||
##############################
|
||||
|
||||
hostname = api.revenuecat.com
|
||||
|
||||
https:\/\/api\.revenuecat\.com\/v1\/(subscribers|receipts) url script-response-body https://rules-for-qx.sveir.xyz/Scripts/Unlock/Pillow.min.js
|
|
@ -0,0 +1,40 @@
|
|||
let response = JSON.parse($response.body);
|
||||
|
||||
let obj = {
|
||||
"request_date": "2022-08-06T02:30:14Z",
|
||||
"request_date_ms": 1837536263000,
|
||||
"subscriber": {
|
||||
"entitlements": {
|
||||
"premium": {
|
||||
"expires_date": "2023-08-06T02:30:14Z",
|
||||
"grace_period_expires_date": null,
|
||||
"product_identifier": "com.neybox.pillow.premium.month",
|
||||
"purchase_date": "2022-08-06T02:30:14Z"
|
||||
}
|
||||
},
|
||||
"first_seen": "2022-08-06T02:30:14Z",
|
||||
"last_seen": "2022-08-06T02:30:14Z",
|
||||
"management_url": null,
|
||||
"non_subscriptions": {},
|
||||
"original_app_user_id": "YOUR_USER_ID",
|
||||
"original_application_version": "YOUR_APP_VERSION",
|
||||
"original_purchase_date": "2022-08-06T02:30:14Z",
|
||||
"other_purchases": {},
|
||||
"subscriptions": {
|
||||
"com.neybox.pillow.premium.month": {
|
||||
"billing_issues_detected_at": null,
|
||||
"expires_date": "2099-08-06T02:30:14Z",
|
||||
"grace_period_expires_date": null,
|
||||
"is_sandbox": false,
|
||||
"original_purchase_date": "2022-08-06T02:30:14Z",
|
||||
"ownership_type": "PURCHASED",
|
||||
"period_type": "active",
|
||||
"purchase_date": "2022-08-06T02:30:14Z",
|
||||
"store": "app_store",
|
||||
"unsubscribe_detected_at": "2022-09-08T02:30:14Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
$done({ "body": JSON.stringify(obj) });
|
|
@ -0,0 +1 @@
|
|||
let response=JSON.parse($response.body),obj={request_date:"2022-08-06T02:30:14Z",request_date_ms:1837536263e3,subscriber:{entitlements:{premium:{expires_date:"2023-08-06T02:30:14Z",grace_period_expires_date:null,product_identifier:"com.neybox.pillow.premium.month",purchase_date:"2022-08-06T02:30:14Z"}},first_seen:"2022-08-06T02:30:14Z",last_seen:"2022-08-06T02:30:14Z",management_url:null,non_subscriptions:{},original_app_user_id:"YOUR_USER_ID",original_application_version:"YOUR_APP_VERSION",original_purchase_date:"2022-08-06T02:30:14Z",other_purchases:{},subscriptions:{"com.neybox.pillow.premium.month":{billing_issues_detected_at:null,expires_date:"2099-08-06T02:30:14Z",grace_period_expires_date:null,is_sandbox:!1,original_purchase_date:"2022-08-06T02:30:14Z",ownership_type:"PURCHASED",period_type:"active",purchase_date:"2022-08-06T02:30:14Z",store:"app_store",unsubscribe_detected_at:"2022-09-08T02:30:14Z"}}}};$done({body:JSON.stringify(obj)});
|
Loading…
Reference in New Issue