之前nobady获取cookie的地址已经失效,弹窗提示地址更换成新的 https://bean.m.jd.com/bean/signIndex.action

This commit is contained in:
lxk0301
2021-01-09 13:53:14 +08:00
parent 20a8ee2b63
commit 2e414086a9
58 changed files with 114 additions and 114 deletions

View File

@@ -25,7 +25,7 @@ let gen = entrance();
gen.next();
function* entrance() {
if (!cookie) {
$.msg(name, '【提示】请先获取cookie\n直接使用NobyDa的京东签到获取', 'https://bean.m.jd.com/', { "open-url": "https://bean.m.jd.com/" });
$.msg(name, '【提示】请先获取cookie\n直接使用NobyDa的京东签到获取', 'https://bean.m.jd.com/bean/signIndex.action', { "open-url": "https://bean.m.jd.com/bean/signIndex.action" });
$.done();
return
}
@@ -104,7 +104,7 @@ function user_info() {
console.log('走了else');
if (res.resultCode === 3) {
$.setdata('', 'CookieJD');//cookie失效故清空cookie。
$.msg(name, '【提示】京东cookie已失效,请重新登录获取', 'https://bean.m.jd.com/', { "open-url": "https://bean.m.jd.com/" });
$.msg(name, '【提示】京东cookie已失效,请重新登录获取', 'https://bean.m.jd.com/bean/signIndex.action', { "open-url": "https://bean.m.jd.com/bean/signIndex.action" });
$.done();
return
}