奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
server/model/sys_user.go
|
|
@ -2,7 +2,6 @@ package model |
|
|
|
|
|
|
|
import ( |
|
|
|
"gin-vue-admin/global" |
|
|
|
|
|
|
|
"github.com/satori/go.uuid" |
|
|
|
) |
|
|
|
|
|
|
@ -15,5 +14,4 @@ type SysUser struct { |
|
|
|
HeaderImg string `json:"headerImg" gorm:"default:http://qmplusimg.henrongyi.top/head.png;comment:用户头像"` // 用户头像
|
|
|
|
Authority SysAuthority `json:"authority" gorm:"foreignKey:AuthorityId;references:AuthorityId;comment:用户角色"` |
|
|
|
AuthorityId string `json:"authorityId" gorm:"default:888;comment:用户角色ID"` // 用户角色ID
|
|
|
|
Theme string `json:"theme" gorm:"default:{\"theme\":\"#1890ff\",\"sideMode\":\"dark\"};comment:用户配置信息"` |
|
|
|
} |