摘要: package storage import ( "context" "WchimeGinSystem/conf" "WchimeGinSystem/utils" "io" "log" "net/http" "net/url" "path/filepath" "strings" "time" "gi 阅读全文
posted @ 2024-11-16 10:59 Wchime 阅读(42) 评论(0) 推荐(0)
摘要: package storage import ( "context" "fmt" "WchimeGinSystem/conf" "WchimeGinSystem/utils" "io" "log" "path/filepath" "strings" "time" "github.com/minio/ 阅读全文
posted @ 2024-11-16 10:57 Wchime 阅读(84) 评论(0) 推荐(0)
摘要: package cache import ( "context" "fmt" "WchimeGinSystem/conf" "log" "time" "github.com/go-redis/redis/v8" ) var CTX = context.Background() var RDB *re 阅读全文
posted @ 2024-11-16 10:55 Wchime 阅读(42) 评论(0) 推荐(0)
摘要: package jwtauth import ( "WchimeGinSystem/conf" "errors" "time" "github.com/golang-jwt/jwt/v5" ) type MyClaims struct { jwt.RegisteredClaims UserId in 阅读全文
posted @ 2024-11-16 10:54 Wchime 阅读(54) 评论(0) 推荐(0)