shawenguan 1 year ago
parent
commit
03f0a0be16
1 changed files with 4 additions and 2 deletions
  1. 4 2
      Scripts/imoutai/imoutaiHelper.js

+ 4 - 2
Scripts/imoutai/imoutaiHelper.js

@@ -194,11 +194,13 @@ async function tryReserve() {
                 }
             }
             if (ntfMsgTips && ntfMsgTips.length > 0) {
+                let sendRet = null;
                 if (isExistSucc) {
-                    magicJS.fastWxpusherSend(ntfMsgTips, 'i茅台申购成功');
+                    sendRet = await magicJS.fastWxpusherSend(ntfMsgTips, 'i茅台申购成功');
                 } else {
-                    magicJS.fastWxpusherSend(ntfMsgTips, 'i茅台申购结果');
+                    sendRet = await magicJS.fastWxpusherSend(ntfMsgTips, 'i茅台申购结果');
                 }
+                magicJS.logger.info(`sendRet=${JSON.stringify(sendRet)}`);
                 magicJS.notification.appendNotifyInfo(`申购最近的公布结果:\n${ntfMsgTips}`);
             }
         }