mirror of
https://github.com/fmz200/wool_scripts.git
synced 2025-12-20 13:43:58 +08:00
Initial commit: new history
This commit is contained in:
9
Scripts/xiaotucc.js
Normal file
9
Scripts/xiaotucc.js
Normal file
@ -0,0 +1,9 @@
|
||||
if (-1 != $request.url.indexOf("main_page/index/getActivity")) {
|
||||
let obj = JSON.parse($response.body);
|
||||
delete obj.data.p3;
|
||||
$done({body: JSON.stringify(obj)});
|
||||
} else if (-1 != $request.url.indexOf("mall/main")) {
|
||||
let obj = JSON.parse($response.body);
|
||||
delete obj.data;
|
||||
$done({body: JSON.stringify(obj)});
|
||||
} else $done($response);
|
||||
Reference in New Issue
Block a user