-
Notifications
You must be signed in to change notification settings - Fork 53
/
Mindkit.js
97 lines (85 loc) · 10.2 KB
/
Mindkit.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/******************************
Mindkit 3.55
仅测试surge
[rewrite_local]
^https:\/\/buy\.itunes\.apple\.com\/verifyReceipt url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/Mindkit.js
[mitm]
hostname = buy.itunes.apple.com
*******************************/
var objc = JSON.parse($response.body);
objc = {
"environment": "Production",
"receipt": {
"receipt_type": "Production",
"app_item_id": 1511149034,
"receipt_creation_date": "2023-10-09 14:17:14 Etc\/GMT",
"bundle_id": "com.yueyuemax.Mindo",
"original_purchase_date": "2023-10-09 13:58:21 Etc\/GMT",
"in_app": [
{
"quantity": "1",
"purchase_date_ms": "1696860648000",
"expires_date": "2099-11-09 15:10:48 Etc\/GMT",
"expires_date_pst": "2099-11-09 07:10:48 America\/Los_Angeles",
"is_in_intro_offer_period": "false",
"transaction_id": "190001751345593",
"is_trial_period": "false",
"original_transaction_id": "190001751345593",
"purchase_date": "2023-10-09 14:10:48 Etc\/GMT",
"product_id": "mindkit_lifely",
"original_purchase_date_pst": "2023-10-09 07:10:52 America\/Los_Angeles",
"in_app_ownership_type": "PURCHASED",
"original_purchase_date_ms": "1696860652000",
"web_order_line_item_id": "190000791154200",
"expires_date_ms": "1699542648000",
"purchase_date_pst": "2023-10-09 07:10:48 America\/Los_Angeles",
"original_purchase_date": "2023-10-09 14:10:52 Etc\/GMT"
}
],
"adam_id": 1511149034,
"receipt_creation_date_pst": "2023-10-09 07:17:14 America\/Los_Angeles",
"request_date": "2023-10-09 14:17:15 Etc\/GMT",
"request_date_pst": "2023-10-09 07:17:15 America\/Los_Angeles",
"version_external_identifier": 860366028,
"request_date_ms": "1696861035588",
"original_purchase_date_pst": "2023-10-09 06:58:21 America\/Los_Angeles",
"application_version": "242",
"original_purchase_date_ms": "1696859901000",
"receipt_creation_date_ms": "1696861034000",
"original_application_version": "242",
"download_id": 502852030568470988
},
"pending_renewal_info": [
{
"product_id": "mindkit_lifely",
"original_transaction_id": "190001751345593",
"auto_renew_product_id": "mindkit_lifely",
"auto_renew_status": "1"
}
],
"status": 0,
"latest_receipt_info": [
{
"quantity": "1",
"purchase_date_ms": "1696860648000",
"expires_date": "2099-11-09 15:10:48 Etc\/GMT",
"expires_date_pst": "2099-11-09 07:10:48 America\/Los_Angeles",
"is_in_intro_offer_period": "false",
"transaction_id": "190001751345593",
"is_trial_period": "false",
"original_transaction_id": "190001751345593",
"purchase_date": "2023-10-09 14:10:48 Etc\/GMT",
"product_id": "mindkit_yearly",
"original_purchase_date_pst": "2023-10-09 07:10:52 America\/Los_Angeles",
"in_app_ownership_type": "PURCHASED",
"subscription_group_identifier": "20641847",
"original_purchase_date_ms": "1696860652000",
"web_order_line_item_id": "190000791154200",
"expires_date_ms": "188888888888888",//1699542648000
"purchase_date_pst": "2023-10-09 07:10:48 America\/Los_Angeles",
"original_purchase_date": "2023-10-09 14:10:52 Etc\/GMT"
}
],
"latest_receipt": "MIIUhQYJKoZIhvcNAQcCoIIUdjCCFHICAQExDzANBglghkgBZQMEAgEFADCCA7sGCSqGSIb3DQEHAaCCA6wEggOoMYIDpDAKAgEUAgEBBAIMADALAgEZAgEBBAMCAQMwDAIBCgIBAQQEFgI0KzAMAgEOAgEBBAQCAgDmMA0CAQMCAQEEBQwDMjQyMA0CAQ0CAQEEBQIDAkpVMA0CARMCAQEEBQwDMjQyMA4CAQECAQEEBgIEWhJN6jAOAgEJAgEBBAYCBFAzMDIwDgIBCwIBAQQGAgQHMr9kMA4CARACAQEEBgIEM0gkzDASAgEPAgEBBAoCCAb6fUHwnhnM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