|
@@ -89,6 +89,10 @@ type VisitFilter struct {
|
|
|
Ms *mysql.Mysql
|
|
|
}
|
|
|
|
|
|
+func SetVisitSource(sess *httpsession.Session, source string) {
|
|
|
+ sess.Set("RSource", source)
|
|
|
+}
|
|
|
+
|
|
|
func GetVisitSource(sess *httpsession.Session) string {
|
|
|
source := common.InterfaceToStr(sess.Get("RSource"))
|
|
|
if sSource := GetSevenSourceByRedis(sess); sSource != "" {
|