wangchuanjin il y a 2 ans
Parent
commit
9ba4bf768d
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  1. 0 4
      src/jfw/filter/filter.go

+ 0 - 4
src/jfw/filter/filter.go

@@ -3,7 +3,6 @@ package filter
 import (
 	. "jy/src/jfw/config"
 	"jy/src/jfw/jyutil"
-	"log"
 	"net/http"
 	"regexp"
 	"time"
@@ -42,11 +41,8 @@ func (f *Filter) Do(w http.ResponseWriter, r *http.Request) bool {
 	if getSession["userId"] != nil && getSession["mgoUserId"] == nil && util.Int64All(getSession["positionType"]) == 0 {
 		session.Set("mgoUserId", getSession["userId"])
 	}
-	log.Println("------base_user_id", getSession["base_user_id"])
-	log.Println("------positionId", getSession["positionId"])
 	if getSession["base_user_id"] != nil && getSession["positionId"] == nil {
 		identity := Middleground.UserCenter.IdentityByUserId(util.Int64All(getSession["base_user_id"]))
-		log.Println("------identity", identity)
 		if identity != nil {
 			session.SetMultiple(map[string]interface{}{
 				"personId":     identity.PersonId,