|
|
@@ -128,6 +128,9 @@ async function checkNotifyUsage(userInfo, onlineData) {
|
|
|
}
|
|
|
let usageText = ``;
|
|
|
let flush_date_time = userInfo.flush_date_time;
|
|
|
+ if (!flush_date_time) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
usageText = `${flush_date_time},使用情况:\n`;
|
|
|
// 剩余话费
|
|
|
let feeResource = userInfo.feeResource;
|
|
|
@@ -287,8 +290,8 @@ async function queryUserInfoSeven(phoneNum = '16620077714') {
|
|
|
let result = await magicJS.http.get(options).then(response => {
|
|
|
try {
|
|
|
let rspData = response.body;
|
|
|
- magicJS.logger.info(`rspData=${JSON.stringify(rspData)}`);
|
|
|
- if (typeof rspData === 'string') {
|
|
|
+ magicJS.logger.info(`queryUserInfoSeven rspData=${JSON.stringify(rspData)}`);
|
|
|
+ if (typeof rspData == 'string') {
|
|
|
return null;
|
|
|
}
|
|
|
return rspData;
|