浏览代码

Merge branch 'feature/v1.0.2' of https://jygit.jydev.jianyu360.cn/moapp/jypkg into feature/v1.0.2

zhangxinlei1996 1 年之前
父节点
当前提交
b804c34925
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      identity/identity.go

+ 1 - 1
identity/identity.go

@@ -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
 		}