|
@@ -4,7 +4,6 @@ import (
|
|
|
"app.yhyue.com/moapp/jybase/go-xweb/httpsession"
|
|
|
"app.yhyue.com/moapp/jypkg/common/src/qfw/util/jy"
|
|
|
fx "app.yhyue.com/moapp/jypkg/filter/xweb"
|
|
|
- "log"
|
|
|
"net/http"
|
|
|
"strings"
|
|
|
)
|
|
@@ -19,12 +18,6 @@ type CookieInfo struct {
|
|
|
|
|
|
// Do 继承过滤器方法
|
|
|
func (ci *CookieInfo) Do() {
|
|
|
- //判断 cookie 是否有seo referer标识
|
|
|
- seoRefer, err := ci.R.Cookie("SeoRefer")
|
|
|
- log.Println(err, "-----------++++++++++------------", seoRefer)
|
|
|
- if seoRefer.Value != "" {
|
|
|
- log.Println("-----------seoRefer------------", seoRefer)
|
|
|
- }
|
|
|
if crr := ci.R.Referer(); !ci.IsLogin && crr != "" {
|
|
|
if strings.Contains(crr, "cooperate") {
|
|
|
match := strings.Split(crr, "cooperate/")
|