|
@@ -5,7 +5,6 @@ import (
|
|
"github.com/bwmarrin/snowflake"
|
|
"github.com/bwmarrin/snowflake"
|
|
. "jy/src/jfw/config"
|
|
. "jy/src/jfw/config"
|
|
"jy/src/jfw/jyutil"
|
|
"jy/src/jfw/jyutil"
|
|
- "log"
|
|
|
|
"net/http"
|
|
"net/http"
|
|
"regexp"
|
|
"regexp"
|
|
"time"
|
|
"time"
|
|
@@ -61,8 +60,6 @@ func (f *Filter) Do(w http.ResponseWriter, r *http.Request) bool {
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
(&CookieInfo{w, r, getSession["userId"] != nil, session}).Do()
|
|
(&CookieInfo{w, r, getSession["userId"] != nil, session}).Do()
|
|
- seoRefer, _ := r.Cookie("SeoRefer")
|
|
|
|
- log.Println("-----------seo--refer---------------", seoRefer.Value)
|
|
|
|
(&fx.VisitFilter{W: w, R: r, Session: session, SessVal: getSession, MgoLog: public.MQFW, Ms: public.Mysql}).Do()
|
|
(&fx.VisitFilter{W: w, R: r, Session: session, SessVal: getSession, MgoLog: public.MQFW, Ms: public.Mysql}).Do()
|
|
if !(&logFilter{w, r, session, getSession, make(map[string]interface{})}).Do() {
|
|
if !(&logFilter{w, r, session, getSession, make(map[string]interface{})}).Do() {
|
|
return false
|
|
return false
|