Skip to content

Instantly share code, notes, and snippets.

@yilee
Created April 28, 2025 06:12
Show Gist options
  • Save yilee/619ad6bafc171567b61d002b87fac57f to your computer and use it in GitHub Desktop.
Save yilee/619ad6bafc171567b61d002b87fac57f to your computer and use it in GitHub Desktop.
fcrs_balance.js
/**
* @supported 6F4F4E880CC1
* @description 修改 balance 为 999
*/
try {
let obj = JSON.parse($response.body);
if (obj?.data?.balance !== undefined) {
obj.data.balance = 999;
}
$done({ body: JSON.stringify(obj) });
} catch (e) {
console.log("Balance Rewrite Error: ", e);
$done({});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment