shawenguan 2 年之前
父節點
當前提交
da6667d3f9
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      Scripts/thwj/thwjHelper.js

+ 2 - 3
Scripts/thwj/thwjHelper.js

@@ -165,6 +165,7 @@ function loadIndex() {
                         if (_response.status == 200) {
                             ret = true;
                             let cookie = _response.headers.cookie;
+                            lk.log(JSON.stringify(_response.headers));
                             let key = `${thwjStoreKeyPrefix}CommonCookieKey`;
                             lk.setVal(key, cookie);
 
@@ -217,11 +218,9 @@ async function getVerifyCodeImg() {
                         lk.execFail();
                     } else {
                         lk.log(`获取验证码图片结果`);
-                        lk.log(typeof (_response));
-                        lk.log(JSON.stringify(_response));
                         if (_response.status == 200) {
-                            lk.log(typeof (data));
                             ret = base64encode(data);
+                            lk.log(ret);
                         }
                     }
                 } catch (e) {