feat: first version of backend API #7

Merged
SOR2171 merged 4 commits from backend-dev into main 2026-08-09 20:53:18 +08:00
Showing only changes of commit 2912d83b5e - Show all commits
@@ -10,8 +10,8 @@ import org.springframework.data.redis.core.StringRedisTemplate
import org.springframework.security.core.userdetails.User
import org.springframework.security.core.userdetails.UserDetails
import org.springframework.stereotype.Component
import java.time.Duration
import java.util.*
import java.util.concurrent.TimeUnit
@Component
class JwtUtils(
@@ -44,8 +44,7 @@ class JwtUtils(
template.opsForValue().set(
Const.JWT_BLACK_LIST + uuid,
"deleted",
expire,
TimeUnit.MILLISECONDS
Duration.ofMillis(expire)
)
return true
}