fuwencai 1 anno fa
parent
commit
b45e37d270
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      src/jfw/modules/app/src/app/filter/phonefilter.go

+ 0 - 6
src/jfw/modules/app/src/app/filter/phonefilter.go

@@ -59,7 +59,6 @@ func (l *phoneFilter) Do() bool {
         }
         return false
     }()
-    log.Println("phoneFilter调试日志",l.R.URL.Path,pass)
     if pass {
         return true
     }
@@ -84,7 +83,6 @@ func (l *phoneFilter) Do() bool {
             accountMergeOnline, _ := config.Sysconfig["accountMergeOnline"].(string)
             onLineTime, _ := time.ParseInLocation(Date_Full_Layout, accountMergeOnline, time.Local)
             if onLineTime.After(reg) { //老用户
-                log.Println("phoneFilter调试日志 onLineTime.After(reg):",onLineTime.After(reg))
                 dbname, _ := config.Sysconfig["bindPopRedis"].(string)
                 key := fmt.Sprintf("bindPop_new_%s", userId)
                 if redis.GetInt(dbname, key) >= qu.IntAll(config.Sysconfig["maxBindPop"]) {
@@ -99,7 +97,6 @@ func (l *phoneFilter) Do() bool {
                 }
                 return false
             } else {
-                log.Println("phoneFilter调试日志 isNewUser:",isNewUser)
                 isNewUser = true
             }
             //设置cookie 前端跳转
@@ -109,8 +106,6 @@ func (l *phoneFilter) Do() bool {
         return false
     }()
     var href string
-    log.Println("phoneFilter调试日志 needBindPhone:",needBindPhone)
-
     if needBindPhone {
         href = "/jyapp/account/phone/bind?mode=mergeBind"
         if isNewUser {
@@ -121,7 +116,6 @@ func (l *phoneFilter) Do() bool {
             href = "/jyapp/frontPage/verify/free/index?mode=phoneCheck"
         }
     }
-    log.Println("phoneFilter调试日志 href:",href)
     if href != "" {
         http.Redirect(l.W, l.R, href, 302)
         return false