自动化图片路径由http切换为https 修复安全性报错

This commit is contained in:
qimiao
2021-09-09 17:56:23 +08:00
parent ff1b004a2c
commit 108959c84c
4 changed files with 14 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ type Register struct {
Username string `json:"userName"`
Password string `json:"passWord"`
NickName string `json:"nickName" gorm:"default:'QMPlusUser'"`
HeaderImg string `json:"headerImg" gorm:"default:'http://www.henrongyi.top/avatar/lufu.jpg'"`
HeaderImg string `json:"headerImg" gorm:"default:'https://qmplusimg.henrongyi.top/gva_header.jpg'"`
AuthorityId string `json:"authorityId" gorm:"default:888"`
AuthorityIds []string `json:"authorityIds"`
}