Init project

This commit is contained in:
blackmatrix7
2021-04-09 19:34:05 +08:00
parent af86d24757
commit f2b8201076
7329 changed files with 2323074 additions and 0 deletions

View File

@ -0,0 +1,32 @@
/*
Regex: ^https?:\/\/vip1\.kuwo\.cn\/(vip\/v2\/user\/vip|vip\/spi/mservice)
MITM = vip1.kuwo.cn
*/
var body = $response.body;
var url = $request.url;
var obj = JSON.parse(body);
const vip = '/vip/v2/user/vip';
const time = '/vip/spi/mservice';
if (url.indexOf(vip) != -1) {
obj.data["isNewUser"] = "2";
obj.data["vipLuxuryExpire"] = "1835312949000";
obj.data["time"] = "1961170340993";
obj.data["isYearUser"] = "2";
obj.data["vipmExpire"] = "1835312949000";
obj.data["vipOverSeasExpire"] = "1835312949000";
obj.data["vipExpire"] = "1835312949000";
obj.data["vip3Expire"] = "1835312949000";
body = JSON.stringify(obj);
}
if (url.indexOf(time) != -1) {
obj["isVIPMAutoPay"] = 2;
obj["isVIPLuxAutoPay"] = 2;
body = JSON.stringify(obj);
}
$done({body});