|
|
@@ -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) {
|