From 4d247588ac89b7b83a97008ac975b9cb6dcf6feb Mon Sep 17 00:00:00 2001 From: yml2213 Date: Tue, 24 May 2022 12:08:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jieda/jieda.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jieda/jieda.js b/jieda/jieda.js index e4b4ef2..3a093df 100644 --- a/jieda/jieda.js +++ b/jieda/jieda.js @@ -102,14 +102,14 @@ async function signIn() { let result = await httpGet(url, `领红包`); if (result.status === "SUCCEED") { - console.log(` 领红包: 本次获得 ${result.data.allPrize} 元, 累计获得${result.data.todayPrize} 元`); - msg += ` 领红包: 本次获得 ${result.data.allPrize} 元, 累计获得${result.data.todayPrize} 元`; + console.log(`\n 领红包: 本次获得 ${result.data.allPrize} 元, 累计获得${result.data.todayPrize} 元`); + msg += `\n 领红包: 本次获得 ${result.data.allPrize} 元, 累计获得${result.data.todayPrize} 元`; } else if (result.status === "FAILED") { - console.log(` 领红包: ${result.errorMessage}`); - msg += ` 领红包: ${result.errorMessage}`; + console.log(`\n 领红包: ${result.errorMessage}`); + msg += `\n 领红包: ${result.errorMessage}`; } else { - console.log(` 领红包: 失败 ❌ 了呢,原因未知! ${result} \n`); - msg += ` 领红包: 失败 ❌ 了呢,原因未知! \n `; + console.log(`\n 领红包: 失败 ❌ 了呢,原因未知! ${result} \n`); + msg += `\n 领红包: 失败 ❌ 了呢,原因未知! \n `; } }