shawenguan 1 год назад
Родитель
Сommit
d9df4da063
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      Scripts/telecom/cloud189Helper.js

+ 1 - 2
Scripts/telecom/cloud189Helper.js

@@ -727,9 +727,8 @@ async function getAppConf(){
             body: body
         }
         magicJS.http.post(options).then(resp => {
-            const htmlText = resp.body;
             try {
-                magicJS.logger.info(`页面数据:${htmlText}`);
+                magicJS.logger.info(`页面数据:${JSON.stringify(resp.body)}`);
                 magicJS.logger.info(`响应头部:${JSON.stringify(resp.headers)}`);
                 let urlMatch = htmlText.match(/https?:\/\/[^\s'"]+/); // 正则表达式匹配
                 if(urlMatch){