This commit is contained in:
oneao committed 2026-04-02 22:07:21 +08:00
1 parent ae0d245605
commit 4725ee75ca
26 files changed
+1089 -67

No files matched your search

@@ -0,0 +1,11 @@
package boots
import (
"allapp-go/internal/config"
"allapp-go/pkg/jwtx"
)
// InitJwt 初始化Jwt
func InitJwt(cfg *config.Config) {
jwtx.Init(cfg.JWT.Secret, cfg.JWT.AccessExpiry)
}