|
|
@@ -127,6 +127,7 @@ async function tryCheckWeather() {
|
|
|
} else if (now.text.indexOf('雪') > -1) {
|
|
|
isWxNotify = true;
|
|
|
}
|
|
|
+ text += '\n';
|
|
|
} else {
|
|
|
}
|
|
|
let rainDataRet = await getWeatherMinutely(location);
|
|
|
@@ -136,7 +137,7 @@ async function tryCheckWeather() {
|
|
|
let summary = rainDataRet.summary;
|
|
|
text += `${summary}\n`;
|
|
|
let rainList = rainDataRet.minutely;
|
|
|
- text += `最近2小时具体降水量:\n`;
|
|
|
+ text += `最近2小时降水量预测:\n`;
|
|
|
for (let i in rainList) {
|
|
|
let timeLine = rainList[i];
|
|
|
let date = new Date(timeLine.fxTime);
|
|
|
@@ -147,6 +148,7 @@ async function tryCheckWeather() {
|
|
|
// text += `${magicJS.formatDate(date, 'yyyy/MM/dd HH:mm:ss')}-无\n`;
|
|
|
}
|
|
|
}
|
|
|
+ text += '\n';
|
|
|
} else {
|
|
|
|
|
|
}
|