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