forked from flipped-aurora/gin-vue-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request flipped-aurora#984 from songzhibin97/master
- Loading branch information
Showing
18 changed files
with
96 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
package config | ||
|
||
type Autocode struct { | ||
TransferRestart bool `mapstructure:"transfer-restart" json:"transferRestart" yaml:"transfer-restart"` | ||
TransferRestart bool `mapstructure:"transfer-restart" json:"transfer-restart" yaml:"transfer-restart"` | ||
Root string `mapstructure:"root" json:"root" yaml:"root"` | ||
Server string `mapstructure:"server" json:"server" yaml:"server"` | ||
SApi string `mapstructure:"server-api" json:"serverApi" yaml:"server-api"` | ||
SInitialize string `mapstructure:"server-initialize" json:"serverInitialize" yaml:"server-initialize"` | ||
SModel string `mapstructure:"server-model" json:"serverModel" yaml:"server-model"` | ||
SRequest string `mapstructure:"server-request" json:"serverRequest" yaml:"server-request"` | ||
SRouter string `mapstructure:"server-router" json:"serverRouter" yaml:"server-router"` | ||
SService string `mapstructure:"server-service" json:"serverService" yaml:"server-service"` | ||
SApi string `mapstructure:"server-api" json:"server-api" yaml:"server-api"` | ||
SInitialize string `mapstructure:"server-initialize" json:"server-initialize" yaml:"server-initialize"` | ||
SModel string `mapstructure:"server-model" json:"server-model" yaml:"server-model"` | ||
SRequest string `mapstructure:"server-request" json:"server-request" yaml:"server-request"` | ||
SRouter string `mapstructure:"server-router" json:"server-router" yaml:"server-router"` | ||
SService string `mapstructure:"server-service" json:"server-service" yaml:"server-service"` | ||
Web string `mapstructure:"web" json:"web" yaml:"web"` | ||
WApi string `mapstructure:"web-api" json:"webApi" yaml:"web-api"` | ||
WForm string `mapstructure:"web-form" json:"webForm" yaml:"web-form"` | ||
WTable string `mapstructure:"web-table" json:"webTable" yaml:"web-table"` | ||
WApi string `mapstructure:"web-api" json:"web-api" yaml:"web-api"` | ||
WForm string `mapstructure:"web-form" json:"web-form" yaml:"web-form"` | ||
WTable string `mapstructure:"web-table" json:"web-table" yaml:"web-table"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package config | ||
|
||
type Captcha struct { | ||
KeyLong int `mapstructure:"key-long" json:"keyLong" yaml:"key-long"` // 验证码长度 | ||
ImgWidth int `mapstructure:"img-width" json:"imgWidth" yaml:"img-width"` // 验证码宽度 | ||
ImgHeight int `mapstructure:"img-height" json:"imgHeight" yaml:"img-height"` // 验证码高度 | ||
KeyLong int `mapstructure:"key-long" json:"key-long" yaml:"key-long"` // 验证码长度 | ||
ImgWidth int `mapstructure:"img-width" json:"img-width" yaml:"img-width"` // 验证码宽度 | ||
ImgHeight int `mapstructure:"img-height" json:"img-height" yaml:"img-height"` // 验证码高度 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package config | ||
|
||
type Casbin struct { | ||
ModelPath string `mapstructure:"model-path" json:"modelPath" yaml:"model-path"` // 存放casbin模型的相对路径 | ||
ModelPath string `mapstructure:"model-path" json:"model-path" yaml:"model-path"` // 存放casbin模型的相对路径 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package config | ||
|
||
type JWT struct { | ||
SigningKey string `mapstructure:"signing-key" json:"signingKey" yaml:"signing-key"` // jwt签名 | ||
ExpiresTime int64 `mapstructure:"expires-time" json:"expiresTime" yaml:"expires-time"` // 过期时间 | ||
BufferTime int64 `mapstructure:"buffer-time" json:"bufferTime" yaml:"buffer-time"` // 缓冲时间 | ||
Issuer string `mapstructure:"issuer" json:"issuer" yaml:"issuer"` // 签发者 | ||
SigningKey string `mapstructure:"signing-key" json:"signing-key" yaml:"signing-key"` // jwt签名 | ||
ExpiresTime int64 `mapstructure:"expires-time" json:"expires-time" yaml:"expires-time"` // 过期时间 | ||
BufferTime int64 `mapstructure:"buffer-time" json:"buffer-time" yaml:"buffer-time"` // 缓冲时间 | ||
Issuer string `mapstructure:"issuer" json:"issuer" yaml:"issuer"` // 签发者 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package config | ||
|
||
type Qiniu struct { | ||
Zone string `mapstructure:"zone" json:"zone" yaml:"zone"` // 存储区域 | ||
Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"` // 空间名称 | ||
ImgPath string `mapstructure:"img-path" json:"imgPath" yaml:"img-path"` // CDN加速域名 | ||
UseHTTPS bool `mapstructure:"use-https" json:"useHttps" yaml:"use-https"` // 是否使用https | ||
AccessKey string `mapstructure:"access-key" json:"accessKey" yaml:"access-key"` // 秘钥AK | ||
SecretKey string `mapstructure:"secret-key" json:"secretKey" yaml:"secret-key"` // 秘钥SK | ||
UseCdnDomains bool `mapstructure:"use-cdn-domains" json:"useCdnDomains" yaml:"use-cdn-domains"` // 上传是否使用CDN上传加速 | ||
Zone string `mapstructure:"zone" json:"zone" yaml:"zone"` // 存储区域 | ||
Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"` // 空间名称 | ||
ImgPath string `mapstructure:"img-path" json:"img-path" yaml:"img-path"` // CDN加速域名 | ||
UseHTTPS bool `mapstructure:"use-https" json:"use-https" yaml:"use-https"` // 是否使用https | ||
AccessKey string `mapstructure:"access-key" json:"access-key" yaml:"access-key"` // 秘钥AK | ||
SecretKey string `mapstructure:"secret-key" json:"secret-key" yaml:"secret-key"` // 秘钥SK | ||
UseCdnDomains bool `mapstructure:"use-cdn-domains" json:"use-cdn-domains" yaml:"use-cdn-domains"` // 上传是否使用CDN上传加速 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.