实现修改管理员信息功能

This commit is contained in:
GoEdgeLab
2020-10-14 19:42:24 +08:00
parent 965efed323
commit 04068dcf29
3 changed files with 133 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ type Admin struct {
IsSuper uint8 `field:"isSuper"` // 是否为超级管理员
CreatedAt uint64 `field:"createdAt"` // 创建时间
UpdatedAt uint64 `field:"updatedAt"` // 修改时间
IsOn uint8 `field:"isOn"` // 是否启用
State uint8 `field:"state"` // 状态
}
@@ -20,6 +21,7 @@ type AdminOperator struct {
IsSuper interface{} // 是否为超级管理员
CreatedAt interface{} // 创建时间
UpdatedAt interface{} // 修改时间
IsOn interface{} // 是否启用
State interface{} // 状态
}