mirror of
https://github.com/chowa/ejyy.git
synced 2026-01-21 05:07:48 +08:00
fix vistor access expire
This commit is contained in:
@@ -100,7 +100,7 @@ async function accessMethod(params: AccessParams, entranceInfo: EjyyIotEntrance,
|
||||
.where('id', reuslt.id)
|
||||
.first();
|
||||
|
||||
if (!vistorInfo || vistorInfo.expire > Date.now()) {
|
||||
if (!vistorInfo || vistorInfo.expire < Date.now()) {
|
||||
return { AcsRes: CLOSE };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user