修复看看脚本异常报错问题

This commit is contained in:
lxk0301
2020-12-16 18:18:53 +08:00
parent 16a3f8eba3
commit e095b8fe41
3 changed files with 4 additions and 3 deletions

View File

@@ -39,8 +39,8 @@ if ($.isNode()) {
cookiesArr.reverse();
}
const JD_API_HOST = 'https://api.m.jd.com/api';
$.newShareCodes = ['21d9b4b51a69839577027beb0aad5105', '8edbdfa148e78f028496cff17e7df35b'];
!(async () => {
$.newShareCodes = [];
if (!cookiesArr[0]) {
$.msg($.name, '【提示】请先获取京东账号一cookie\n直接使用NobyDa的京东签到获取', 'https://bean.m.jd.com/', {"open-url": "https://bean.m.jd.com/"});
return;