Created
April 28, 2025 06:12
-
-
Save yilee/619ad6bafc171567b61d002b87fac57f to your computer and use it in GitHub Desktop.
fcrs_balance.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @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