Fixed callback bug in front end file upload & move some constants to config.yaml

This commit is contained in:
Granty1
2020-04-25 10:14:17 +08:00
parent 283830fc53
commit 386a4d38b4
6 changed files with 143 additions and 123 deletions

View File

@@ -46,6 +46,8 @@ type Redis struct {
type Qiniu struct {
AccessKey string `mapstructure:"access-key" json:"accessKey" yaml:"access-key"`
SecretKey string `mapstructure:"secret-key" json:"secretKey" yaml:"secret-key"`
Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"`
ImgPath string `mapstructure:"img-path" json:"imgPath" yaml:"img-path"`
}
type Captcha struct {