diff --git a/internal/logic/domain/device/device_service.go b/internal/logic/domain/device/device_service.go index 51d9dae..66e1de4 100644 --- a/internal/logic/domain/device/device_service.go +++ b/internal/logic/domain/device/device_service.go @@ -22,7 +22,7 @@ var DeviceService = new(deviceService) const ( SignInKey = "%s:gim_sign_in:%s" // 占位符: masterId, key的第一个字母 - SignInExpire = 30 * time.Second + SignInExpire = 5 * time.Second ) // Register 注册设备