koishi-plugin-jscn-aaaquery 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +4 -20
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1037,17 +1037,9 @@ function apply(ctx, config) {
|
|
|
1037
1037
|
);
|
|
1038
1038
|
} else if (accountInfo.onlineStatus === "离线" || accountInfo.onlineStatus === "不在线" || accountInfo.isPass === "原因未知") {
|
|
1039
1039
|
message.push(
|
|
1040
|
-
|
|
1040
|
+
`未检索到账号信息⚠️`,
|
|
1041
|
+
`请检查ONU配置和账号是否正确或尝试重新拨号!`
|
|
1041
1042
|
);
|
|
1042
|
-
if (accountInfo.startTime) {
|
|
1043
|
-
message.push(`最后在线: ${accountInfo.startTime || "未知"}`);
|
|
1044
|
-
}
|
|
1045
|
-
if (accountInfo.offlineReason) {
|
|
1046
|
-
message.push(`离线原因: ${accountInfo.offlineReason || "未知"}`);
|
|
1047
|
-
}
|
|
1048
|
-
if (accountInfo.reasonAnaly) {
|
|
1049
|
-
message.push(`原因分析: ${accountInfo.reasonAnaly || "未知"}`);
|
|
1050
|
-
}
|
|
1051
1043
|
} else {
|
|
1052
1044
|
message.push(
|
|
1053
1045
|
`IP地址: ${accountInfo.userIp}`,
|
|
@@ -1171,17 +1163,9 @@ function apply(ctx, config) {
|
|
|
1171
1163
|
);
|
|
1172
1164
|
} else if (accountInfo.onlineStatus === "离线" || accountInfo.onlineStatus === "不在线" || accountInfo.isPass === "原因未知") {
|
|
1173
1165
|
message.push(
|
|
1174
|
-
|
|
1166
|
+
`未检索到账号信息⚠️`,
|
|
1167
|
+
`请检查ONU配置和账号是否正确或尝试重新拨号!`
|
|
1175
1168
|
);
|
|
1176
|
-
if (accountInfo.startTime) {
|
|
1177
|
-
message.push(`最后在线: ${accountInfo.startTime || "未知"}`);
|
|
1178
|
-
}
|
|
1179
|
-
if (accountInfo.offlineReason) {
|
|
1180
|
-
message.push(`离线原因: ${accountInfo.offlineReason || "未知"}`);
|
|
1181
|
-
}
|
|
1182
|
-
if (accountInfo.reasonAnaly) {
|
|
1183
|
-
message.push(`原因分析: ${accountInfo.reasonAnaly || "未知"}`);
|
|
1184
|
-
}
|
|
1185
1169
|
} else {
|
|
1186
1170
|
message.push(
|
|
1187
1171
|
`IP地址: ${accountInfo.userIp}`,
|