mirror of
https://github.com/hex-ci/smzdm_script.git
synced 2026-02-03 02:53:17 +08:00
Update smzdm_task.js
This commit is contained in:
@@ -171,11 +171,13 @@ async function receiveReward(taskId, cookie) {
|
||||
const data = parseJSON(response.body);
|
||||
|
||||
if (data.error_code == '0') {
|
||||
$.log(data.data.reward_msg);
|
||||
const msg = data.data.reward_msg.replace(/<[^<]+?>/g, '');
|
||||
|
||||
$.log(msg);
|
||||
|
||||
return {
|
||||
isSuccess: true,
|
||||
msg: data.data.reward_msg
|
||||
msg
|
||||
};
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user