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:
17
Scripts/huifutianxia_ads.js
Normal file
17
Scripts/huifutianxia_ads.js
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* 汇付天下
|
||||
* 2024-08-12 19:00:37
|
||||
*/
|
||||
const url = $request.url;
|
||||
if (!$response.body) $done({});
|
||||
let obj = JSON.parse($response.body);
|
||||
|
||||
if (url.includes("api/miniapp/popular/T_MINIAPP")) {
|
||||
delete obj.data;
|
||||
}
|
||||
|
||||
if (url.includes("/api/tactics/ad")) {
|
||||
obj.data.splice(0, 3);
|
||||
}
|
||||
|
||||
$done({body: JSON.stringify(obj)});
|
||||
Reference in New Issue
Block a user