This commit is contained in:
2026-10-22 10:49:06 +08:00
parent fa465a01f0
commit 70b576df11
22 changed files with 1042 additions and 264 deletions
+5 -3
View File
@@ -12,13 +12,15 @@ const (
RedisKeyTaskLights = "task:lights:"
RedisChannelQRPush = "ws:qr:push"
StatusPending = 1 // 待扫码
StatusScanned = 2 // 已扫码未登录
StatusLogined = 3 // 已扫码已登录
StatusPending = 1 // 待扫码
StatusScanned = 2 // 已扫码未登录
StatusLogined = 3 // 已扫码已登录
StatusUsePosition = 4 //使用位置
WsTypeLogin = 1 // 同意登录
WsTypeScanned = 2 // 拒绝授权 / 拒绝登录
WsTypeScan = 3 // 进入扫码页通知
WsUsePosition = 4 //使用位置
SessionTTL = 5 * time.Minute