diff --git a/Rewrite/Unlock/ToToWallet.unlock b/Rewrite/Unlock/ToToWallet.unlock new file mode 100644 index 0000000..6453c78 --- /dev/null +++ b/Rewrite/Unlock/ToToWallet.unlock @@ -0,0 +1,7 @@ +############################## +# 图图记账解锁 +############################## + +hostname=api.revenuecat.com + +^https?:\/\/api\.revenuecat\.com\/v1\/(receipts|subscribers\/\$RCAnonymousID%3A\w{32})$ url script-response-body https://rules-for-qx.sveir.xyz/Scripts/Unlock/ToToWallet.min.js diff --git a/Scripts/Unlock/ToToWallet.js b/Scripts/Unlock/ToToWallet.js new file mode 100644 index 0000000..a8815be --- /dev/null +++ b/Scripts/Unlock/ToToWallet.js @@ -0,0 +1,69 @@ +/** + * 脚本功能:图图记账解锁永久高级版 + * 软件版本:2.3.0 + * @type {{subscriber: {entitlements: {all: {grace_period_expires_date: null, product_identifier: string, expires_date: null, purchase_date: string}}, original_purchase_date: string, other_purchases: {"com.ziheng.totowallet.onetimepurchase": {purchase_date: string}}, non_subscriptions: {"com.ziheng.totowallet.onetimepurchase": [{original_purchase_date: string, id: string, store: string, purchase_date: string, is_sandbox: boolean}]}, original_application_version: string, subscriptions: {"com.ziheng.totowallet.yearly": {grace_period_expires_date: null, original_purchase_date: string, billing_issues_detected_at: null, expires_date: string, ownership_type: string, unsubscribe_detected_at: string, store: string, purchase_date: string, is_sandbox: boolean, period_type: string}, "com.ziheng.totowallet.monthly": {grace_period_expires_date: null, original_purchase_date: string, billing_issues_detected_at: null, expires_date: string, ownership_type: string, unsubscribe_detected_at: string, store: string, purchase_date: string, is_sandbox: boolean, period_type: string}}, first_seen: string, last_seen: string, management_url: string, original_app_user_id: string}, request_date: string, request_date_ms: number}} + */ + +let objc = + { + "request_date": "2022-01-27T05:56:29Z", + "request_date_ms": 1643262989454, + "subscriber": { + "entitlements": { + "all": { + "expires_date": null, + "grace_period_expires_date": null, + "product_identifier": "com.ziheng.totowallet.onetimepurchase", + "purchase_date": "2022-01-27T04:17:03Z" + } + }, + "first_seen": "2021-11-24T07:17:57Z", + "last_seen": "2022-01-27T04:17:54Z", + "management_url": "itms-apps://apps.apple.com/account/subscriptions", + "non_subscriptions": { + "com.ziheng.totowallet.onetimepurchase": [{ + "id": "6060eea19b", + "is_sandbox": true, + "original_purchase_date": "2022-01-27T04:17:03Z", + "purchase_date": "2022-01-27T04:17:03Z", + "store": "app_store" + }] + }, + "original_app_user_id": "$RCAnonymousID:04d7eec58523496c9b29d3d6f4580ab6", + "original_application_version": "1.0", + "original_purchase_date": "2013-08-01T07:00:00Z", + "other_purchases": { + "com.ziheng.totowallet.onetimepurchase": { + "purchase_date": "2022-01-27T04:17:03Z" + } + }, + "subscriptions": { + "com.ziheng.totowallet.monthly": { + "billing_issues_detected_at": null, + "expires_date": "2022-02-11T11:15:28Z", + "grace_period_expires_date": null, + "is_sandbox": false, + "original_purchase_date": "2022-01-11T11:15:29Z", + "ownership_type": "PURCHASED", + "period_type": "normal", + "purchase_date": "2022-01-11T11:15:28Z", + "store": "app_store", + "unsubscribe_detected_at": "2022-01-24T05:49:32Z" + }, + "com.ziheng.totowallet.yearly": { + "billing_issues_detected_at": null, + "expires_date": "2021-12-21T09:56:52Z", + "grace_period_expires_date": null, + "is_sandbox": false, + "original_purchase_date": "2021-12-18T09:56:53Z", + "ownership_type": "PURCHASED", + "period_type": "trial", + "purchase_date": "2021-12-18T09:56:52Z", + "store": "app_store", + "unsubscribe_detected_at": "2021-12-19T13:27:33Z" + } + } + } + }; + +$done({body: JSON.stringify(objc)}); \ No newline at end of file diff --git a/Scripts/Unlock/ToToWallet.min.js b/Scripts/Unlock/ToToWallet.min.js new file mode 100644 index 0000000..50e2457 --- /dev/null +++ b/Scripts/Unlock/ToToWallet.min.js @@ -0,0 +1 @@ +let objc={request_date:"2022-01-27T05:56:29Z",request_date_ms:1643262989454,subscriber:{entitlements:{all:{expires_date:null,grace_period_expires_date:null,product_identifier:"com.ziheng.totowallet.onetimepurchase",purchase_date:"2022-01-27T04:17:03Z"}},first_seen:"2021-11-24T07:17:57Z",last_seen:"2022-01-27T04:17:54Z",management_url:"itms-apps://apps.apple.com/account/subscriptions",non_subscriptions:{"com.ziheng.totowallet.onetimepurchase":[{id:"6060eea19b",is_sandbox:!0,original_purchase_date:"2022-01-27T04:17:03Z",purchase_date:"2022-01-27T04:17:03Z",store:"app_store"}]},original_app_user_id:"$RCAnonymousID:04d7eec58523496c9b29d3d6f4580ab6",original_application_version:"1.0",original_purchase_date:"2013-08-01T07:00:00Z",other_purchases:{"com.ziheng.totowallet.onetimepurchase":{purchase_date:"2022-01-27T04:17:03Z"}},subscriptions:{"com.ziheng.totowallet.monthly":{billing_issues_detected_at:null,expires_date:"2022-02-11T11:15:28Z",grace_period_expires_date:null,is_sandbox:!1,original_purchase_date:"2022-01-11T11:15:29Z",ownership_type:"PURCHASED",period_type:"normal",purchase_date:"2022-01-11T11:15:28Z",store:"app_store",unsubscribe_detected_at:"2022-01-24T05:49:32Z"},"com.ziheng.totowallet.yearly":{billing_issues_detected_at:null,expires_date:"2021-12-21T09:56:52Z",grace_period_expires_date:null,is_sandbox:!1,original_purchase_date:"2021-12-18T09:56:53Z",ownership_type:"PURCHASED",period_type:"trial",purchase_date:"2021-12-18T09:56:52Z",store:"app_store",unsubscribe_detected_at:"2021-12-19T13:27:33Z"}}}};$done({body:JSON.stringify(objc)}); \ No newline at end of file