瀏覽代碼

fix: resolve JWT CustomClaims type mismatch between pkg and service layers

lq 1 月之前
父節點
當前提交
e6b7e92e71
共有 3 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      internal/pkg/clamis.go
  2. 1 1
      internal/pkg/jwt.go
  3. 二進制
      wails-app.exe

+ 1 - 1
internal/pkg/clamis.go

@@ -5,7 +5,7 @@ import (
 	"github.com/gofrs/uuid/v5"
 	"net"
 	"wails-app/internal/global"
-	systemReq "wails-app/internal/modules/system/model/request"
+	systemReq "wails-app/internal/model/system/request"
 )
 
 func ClearToken(c *gin.Context) {

+ 1 - 1
internal/pkg/jwt.go

@@ -7,7 +7,7 @@ import (
 	jwt "github.com/golang-jwt/jwt/v4"
 
 	"wails-app/internal/global"
-	"wails-app/internal/modules/system/model/request"
+	"wails-app/internal/model/system/request"
 )
 
 type JWT struct {

二進制
wails-app.exe