wangchuanjin 2 anni fa
parent
commit
872d83b6e5
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      identity/identity.go

+ 0 - 3
identity/identity.go

@@ -1,7 +1,6 @@
 package identity
 
 import (
-	"log"
 	"strconv"
 
 	. "app.yhyue.com/moapp/jybase/common"
@@ -74,10 +73,8 @@ func SwitchToBest(userId int64, sess *httpsession.Session, mgd *Middleground) bo
 	if list == nil || len(list) == 0 {
 		return false
 	}
-	log.Println("------cccccc----", sess.Get("beforePositionId"))
 	if beforePositionId := Int64All(sess.Get("beforePositionId")); beforePositionId > 0 {
 		for _, v := range list {
-			log.Println("------dddddd----", v.PositionId, beforePositionId)
 			if v.PositionId == beforePositionId {
 				return NewIdentityInfo(v).Switch(sess)
 			}