Script/QuantumultX/File/wymh163.js

30 lines
621 B
JavaScript

var body = $response.body;
var url = $request.url;
const path1 = '/getUserProfile';
const path2 = '/source/detail';
let obj = JSON.parse(body)
if (url.indexOf(path1) != -1) {
obj.data["level"] = "VIP8";
obj.data["to"] = 3042979200716;
obj.data["from"] = 1546272000716;
obj.data["realVipType"] = 1;
obj.data["hongbao"] = 66666;
obj.data["money"] = 66666
obj.data["score"] = 66666;
body = JSON.stringify(obj);
}
if (url.indexOf(path2) != -1) {
obj.data["vip"] = 0;
obj.data["baoyue"] = 1;
body = JSON.stringify(obj);
}
$done({body});
// 个人自用版
// 欢迎关注TG频道: https://t.me/NobyDa