-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathJRXY.js
35 lines (30 loc) · 904 Bytes
/
JRXY.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
/*
今日香烟 5.9.0
需登录 然后 点开会员服务
显示会员以后 关闭脚本保留本地缓存
[rewrite_local]
https://smk.xiao51.com/index.php url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/JRXY.js
[mitm]
hostname = smk.xiao51.com
*/
var url = $request.url;
if (url.includes("a=vip_status_1")) {
var body = $response.body;
try {
var objc = JSON.parse(body);
objc.data.button_name = "";
objc.data.notice = "lovebabyforever";
objc.data.notice_buyout = "lovebabyforever";
objc.data.expired = 0;
objc.data.vipType = "4";
objc.data.currentPayIndex = 4;
objc.data.coinVipPermanent = 45;
objc.code = "0";
body = JSON.stringify(objc);
} catch (e) {
console.log("解析响应体失败: " + e.message);
}
$done({ body });
} else {
$done({});
}