shawenguan 1 year ago
parent
commit
05988982a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Scripts/telecom/cloud189Helper.js

+ 1 - 1
Scripts/telecom/cloud189Helper.js

@@ -119,7 +119,7 @@ async function getLoginAccoutUrl(url){
         magicJS.http.get(options).then(resp => {
             const htmlText = resp.body;
             try {
-                // magicJS.logger.info(`页面数据:${htmlText}`);
+                magicJS.logger.info(`页面数据:${JSON.stringify(resp.headers)}`);
                 let urlMatch = htmlText.match(/<a id="j-tab-login-link"[^>]*href="([^"]+)"/); // 正则表达式匹配
                 if(urlMatch){
                     resolve(urlMatch[1]);