wangchuanjin 2 年之前
父节点
当前提交
13f093ae9c
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      identity/identity.go

+ 4 - 0
identity/identity.go

@@ -51,6 +51,10 @@ func (i *IdentityInfo) Switch(sess *httpsession.Session) bool {
 			ok = true
 		}
 	} else {
+		m["entId"] = i.EntId
+		m["entUserId"] = i.EntUserId
+		m["entName"] = i.Name
+		m["entUserName"] = i.EntUserName
 		m["userId"] = strconv.FormatInt(i.PositionId, 10)
 		m["entAccountId"] = i.EntAccountId
 		ok = true