Browse Source

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

lq 1 tháng trước cách đây
mục cha
commit
e6b7e92e71
3 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      internal/pkg/clamis.go
  2. 1 1
      internal/pkg/jwt.go
  3. BIN
      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 {

BIN
wails-app.exe