wangchuanjin vor 2 Jahren
Ursprung
Commit
13f093ae9c
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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