2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 11:40:51 +08:00

修正读秒异常问题

This commit is contained in:
Ctrlcvs 2022-08-11 22:49:46 +08:00 committed by leiyilu
parent af6776bb4d
commit d6d84f42ca

View File

@ -216,6 +216,7 @@ export async function mysSign(e) {
} }
export async function bbsSeach(e){ export async function bbsSeach(e){
START = moment().unix();
let miHoYoApi = new MihoYoApi(e); let miHoYoApi = new MihoYoApi(e);
if (Object.keys((await miHoYoApi.getStoken(e.user_id))).length == 0) { if (Object.keys((await miHoYoApi.getStoken(e.user_id))).length == 0) {
await replyMsg(e, "未读取到stoken请检查cookies是否包含login_ticket请先绑定stoken再查询~"); await replyMsg(e, "未读取到stoken请检查cookies是否包含login_ticket请先绑定stoken再查询~");