mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 11:56:08 +08:00
修复ck填写错误,ck列表报错
This commit is contained in:
parent
64a8acde92
commit
3c579c10a6
|
@ -266,12 +266,21 @@ export default class CookieService {
|
||||||
const result = [];
|
const result = [];
|
||||||
for (const x of data) {
|
for (const x of data) {
|
||||||
const { nickname, status } = await this.getJdInfo(x);
|
const { nickname, status } = await this.getJdInfo(x);
|
||||||
result.push({
|
if (/pt_pin=(.+?);/.test(x)) {
|
||||||
pin: x.match(/pt_pin=(.+?);/)[1],
|
result.push({
|
||||||
cookie: x,
|
pin: x.match(/pt_pin=(.+?);/)[1],
|
||||||
status,
|
cookie: x,
|
||||||
nickname: nickname,
|
status,
|
||||||
});
|
nickname: nickname,
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
result.push({
|
||||||
|
pin: 'pin未匹配到',
|
||||||
|
cookie: x,
|
||||||
|
status,
|
||||||
|
nickname: nickname,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,12 @@ if [ ! -s ${JD_DIR}/config/auth.json ]; then
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -s /etc/nginx/conf.d/default.conf ]; then
|
||||||
|
echo -e "检测到默认nginx配置文件,删除...\n"
|
||||||
|
rm -f /etc/nginx/conf.d/default.conf
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
|
||||||
cp -fv ${JD_DIR}/docker/front.conf /etc/nginx/conf.d/front.conf
|
cp -fv ${JD_DIR}/docker/front.conf /etc/nginx/conf.d/front.conf
|
||||||
|
|
||||||
echo -e "======================2. 启动nginx========================\n"
|
echo -e "======================2. 启动nginx========================\n"
|
||||||
|
|
|
@ -12,7 +12,7 @@ git reset --mixed
|
||||||
echo -e "更新shell完成...\n"
|
echo -e "更新shell完成...\n"
|
||||||
|
|
||||||
echo -e "重新build...\n"
|
echo -e "重新build...\n"
|
||||||
yarn install
|
yarn install --registry=https://registry.npm.taobao.org
|
||||||
yarn build
|
yarn build
|
||||||
yarn build-back
|
yarn build-back
|
||||||
echo -e "重新build完成...\n"
|
echo -e "重新build完成...\n"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user