fix: update jwt package import to v5 across multiple files

This commit is contained in:
CaIon
2025-10-09 14:17:49 +08:00
parent d65a04ae9b
commit 0ecdf1b8ff
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"github.com/samber/lo"
"github.com/gin-gonic/gin"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt/v5"
"github.com/pkg/errors"
"one-api/constant"
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"strings"
"github.com/bytedance/gopkg/cache/asynccache"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt/v5"
"fmt"
"time"
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"time"
"github.com/gin-gonic/gin"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt/v5"
)
// https://open.bigmodel.cn/doc/api#chatglm_std