forked from gjwj666/qx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkaipai.js
More file actions
52 lines (48 loc) · 1.51 KB
/
kaipai.js
File metadata and controls
52 lines (48 loc) · 1.51 KB
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
/******************************
脚本功能:开拍解锁永久会员
脚本发布:https://t.me/iosapp520
脚本作者: ios-🐔神
使用声明:⚠️仅供学习交流, 🈲️商业用途
*******************************
[rewrite_local]
# > 开拍解锁永久会员
^https?:\/\/api-sub\.meitu\.com\/v2\/user\/(login_vip_check|vip_info|info_by_entrance).*json url script-response-body https://raw.githubusercontent.com/gjwj666/qx/main/kaipai.js
[mitm]
hostname = api-sub.meitu.com
*******************************/
var body = $response.body;
var hausd0rff = JSON.parse(body);
hausd0rff.data = {
'active_sub_type': 2,
'account_type': 1,
'sub_type_name': '续期',
'active_sub_order_id': '永久会员',
'trial_period_invalid_time': '',
'current_order_invalid_time': '32495508000000',
'active_order_id': '1230010086',
'limit_type': 0,
'active_sub_type_name': '续期',
'use_vip': true,
'have_valid_contract': true,
'derive_type_name': '开拍会员',
'derive_type': 1,
'in_trial_period': false,
'is_vip': true,
'membership': {
'id': '4',
'display_name': '开拍会员',
'level': 1,
'level_name': '开拍会员'
},
'active_promotion_status_list': [2],
'sub_type': 2,
'account_id': '7069961436340181123',
'invalid_time': '32495529599000',
'valid_time': '1569664800000',
'active_product_id': '0',
'active_promotion_status': 2,
'show_renew_flag': true
};
$done({
'body': JSON.stringify(hausd0rff)
});