未验证 提交 110e1ed2 编写于 作者: Mr.奇淼('s avatar Mr.奇淼( 提交者: GitHub

Merge pull request #546 from songzhibin97/gva_gormv2_dev

Gva gormv2 dev
......@@ -2,6 +2,7 @@ package model
import (
"gin-vue-admin/global"
"github.com/satori/go.uuid"
)
......@@ -14,4 +15,5 @@ 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:用户配置信息"`
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册