@@ -56,7 +56,7 @@ func (i *IdentityInfo) Switch(sess *httpsession.Session, mgo *MongodbSim) bool {
}
mgoUserId, _ := sess.Get("mgoUserId").(string)
if i.PositionType == 0 {
- if sess.Del("entId", "entName", "entUserId", "entUserName", "entAccountId") {
+ if sess.Del("entId", "entUserId", "entName", "entUserName", "frameworkEntId", "frameworkEntName", "userId", "entAccountId", "entRole", "entNicheDis", "entDeptId") {
m["userId"] = mgoUserId
ok = true