之前nobady获取cookie的地址已经失效,弹窗提示地址更换成新的 https://bean.m.jd.com/bean/signIndex.action
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user