增加上传的动态路径方法 增加用户录入功能 修复了切换账号必须刷新才能改变菜单的bug

This commit is contained in:
pixel
2019-12-15 15:10:40 +08:00
parent 4e704c484a
commit 13c7653462
10 changed files with 191 additions and 113 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ type SysUser struct {
NickName string `json:"nickName" gorm:"default:'QMPlusUser'"`
HeaderImg string `json:"headerImg" gorm:"default:'http://www.henrongyi.top/avatar/lufu.jpg'"`
Authority SysAuthority `json:"authority" gorm:"ForeignKey:AuthorityId;AssociationForeignKey:AuthorityId"`
AuthorityId string `json:"-" gorm:"default:888"`
AuthorityId string `json:"authorityId" gorm:"default:888"`
}
//type Propertie struct {