新增登陆接口

This commit is contained in:
2023-06-08 17:55:03 +08:00
parent 4038110e2f
commit 7f39c483db
11 changed files with 143 additions and 54 deletions
+1
View File
@@ -9,4 +9,5 @@ type Config struct {
Log Log `mapstructure:"log" json:"log" yaml:"log"`
Redis Redis `mapstructure:"redis" json:"redis" yaml:"redis"`
Jwt Jwt `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
Oss Oss `mapstructure:"oss" json:"oss" yaml:"oss"`
}
+10
View File
@@ -0,0 +1,10 @@
package config
type Oss struct {
OssAccessKey string `mapstructure:"oss-access-key" json:"oss-access-key" yaml:"oss-access-key"`
OssAccessKeySecret string `mapstructure:"oss-access-key-secret" json:"oss-access-key-secret" yaml:"oss-access-key-secret"`
OssBucket string `mapstructure:"oss-bucket" json:"oss-bucket" yaml:"oss-bucket"`
OssEndpoint string `mapstructure:"oss-endpoint" json:"oss-endpoint" yaml:"oss-endpoint"`
OssCustomDomainName string `mapstructure:"oss-custom-domain-name" json:"oss-custom-domain-name" yaml:"oss-custom-domain-name"`
OssEnv string `mapstructure:"oss-env" json:"oss-env" yaml:"oss-env"`
}