初始化提交

This commit is contained in:
2023-06-08 09:32:22 +08:00
parent b748b7e847
commit 531962b50f
54 changed files with 2222 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
package config
type Jwt struct {
SignKey string `mapstructure:"sign-key" json:"sign-key" yaml:"sign-key"` // 私钥
Ttl int `mapstructure:"ttl" json:"ttl" yaml:"ttl"` // 过期时间 小时
Algo string `mapstructure:"algo" json:"algo" yaml:"algo"` // 加密方式
}