admin add edit status password items info
This commit is contained in:
@@ -25,7 +25,7 @@ type Authority struct {
|
||||
ParentIds string `gorm:"column:parent_ids;type:varchar(255);comment:多级父级菜单;NOT NULL" json:"parent_ids"`
|
||||
Level uint8 `gorm:"column:level;type:tinyint(2);default:0;comment:级别;NOT NULL" json:"level"`
|
||||
Type uint8 `gorm:"column:type;type:tinyint(2);comment:类型,1目录,2页面,3按钮;NOT NULL" json:"type"`
|
||||
ProjectId int `gorm:"column:project_id;type:int(11);comment:项目ID;NOT NULL" json:"project_id"`
|
||||
ServiceId int `gorm:"column:service_id;type:int(11);comment:项目ID;NOT NULL" json:"service_id"`
|
||||
Path string `gorm:"column:path;type:varchar(255);comment:页面请求地址;NOT NULL" json:"path"`
|
||||
Api string `gorm:"column:api;type:varchar(255);comment:接口地址" json:"api"`
|
||||
ViewPath string `gorm:"column:view_path;type:varchar(255);comment:页面文件路径" json:"view_path"`
|
||||
@@ -51,7 +51,7 @@ type AuthorityStatus struct {
|
||||
Id int `json:"id"`
|
||||
Status uint8 `json:"status"`
|
||||
Reason string `gorm:"column:reason;type:varchar(255);comment:原因" json:"reason"`
|
||||
ProjectId int `gorm:"column:project_id;type:int(11);comment:项目ID;NOT NULL" json:"project_id"`
|
||||
ServiceId int `gorm:"column:service_id;type:int(11);comment:项目ID;NOT NULL" json:"service_id"`
|
||||
AdminId int `json:"admin_id"`
|
||||
AdminName string `gorm:"column:admin_name;type:varchar(100);comment:操作人姓名" json:"admin_name"`
|
||||
UpdateTime utils.CustomTime `gorm:"column:update_time;type:datetime;default:NULL;comment:更新时间" json:"update_time"`
|
||||
@@ -70,7 +70,7 @@ type AuthorityItems struct {
|
||||
ParentIds string `json:"parent_ids"`
|
||||
Level uint8 `json:"level"`
|
||||
Type uint8 `json:"type"`
|
||||
ProjectId int `json:"project_id"`
|
||||
ServiceId int `json:"service_id"`
|
||||
Path string `json:"path"`
|
||||
Api string `json:"api"`
|
||||
ViewPath string `json:"view_path"`
|
||||
@@ -140,7 +140,7 @@ type AuthorityInfoNew struct {
|
||||
type AuthoritySort struct {
|
||||
Id int `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT;comment:ID" json:"id"`
|
||||
ParentId int `gorm:"column:parent_id;type:int(11);default:0;comment:父级菜单;NOT NULL" json:"parent_id"`
|
||||
ProjectId int `gorm:"column:project_id;type:int(11);comment:项目ID;NOT NULL" json:"project_id"`
|
||||
ServiceId int `gorm:"column:service_id;type:int(11);comment:项目ID;NOT NULL" json:"service_id"`
|
||||
Sort uint8 `gorm:"column:sort;type:smallint(3);default:1;comment:排序" json:"sort"`
|
||||
AdminId int `gorm:"column:admin_id;type:int(11);comment:操作人ID" json:"admin_id"`
|
||||
AdminName string `gorm:"column:admin_name;type:varchar(255);comment:操作人员姓名" json:"admin_name"`
|
||||
|
||||
Reference in New Issue
Block a user