feat: 更新用户类型字段为"System"并添加用户来源字段
This commit is contained in:
@@ -715,7 +715,8 @@ func (s *SysUserController) ImportData(c *gin.Context) {
|
||||
|
||||
// 构建用户实体信息
|
||||
newSysUser := model.SysUser{
|
||||
UserType: "sys",
|
||||
UserType: "System",
|
||||
UserSource: "#",
|
||||
Password: initPassword,
|
||||
DeptID: row["I"],
|
||||
UserName: row["B"],
|
||||
|
||||
@@ -12,7 +12,7 @@ type SysLogOperate struct {
|
||||
Method string `json:"method"`
|
||||
// 请求方式
|
||||
RequestMethod string `json:"requestMethod"`
|
||||
// 操作人员类别(0其它 1后台用户 2手机端用户)
|
||||
// 操作人员类别 来自用户类型
|
||||
OperatorType string `json:"operatorType"`
|
||||
// 操作人员
|
||||
OperName string `json:"operName"`
|
||||
|
||||
Reference in New Issue
Block a user