|
@@ -230,7 +230,6 @@ func (l *Login) Login() error {
|
|
"s_platform": "app",
|
|
"s_platform": "app",
|
|
"s_sourceid": channelCode,
|
|
"s_sourceid": channelCode,
|
|
}
|
|
}
|
|
- log.Println("-003--sessionId----:", l.Session().Id())
|
|
|
|
// 新用户注册 记录来源
|
|
// 新用户注册 记录来源
|
|
sourceLabel := redis.GetStr("limitation", fmt.Sprintf("firstVisitTagByWX_%s", l.Session().Id()))
|
|
sourceLabel := redis.GetStr("limitation", fmt.Sprintf("firstVisitTagByWX_%s", l.Session().Id()))
|
|
if sourceLabel != "" {
|
|
if sourceLabel != "" {
|
|
@@ -582,7 +581,6 @@ func (l *Login) Register() error {
|
|
"s_company": s_entname,
|
|
"s_company": s_entname,
|
|
"s_sourceid": channelCode,
|
|
"s_sourceid": channelCode,
|
|
}
|
|
}
|
|
- log.Println("-002--sessionId----:", l.Session().Id())
|
|
|
|
sourceLabel := redis.GetStr("limitation", fmt.Sprintf("firstVisitTagByWX_%s", l.Session().Id()))
|
|
sourceLabel := redis.GetStr("limitation", fmt.Sprintf("firstVisitTagByWX_%s", l.Session().Id()))
|
|
if sourceLabel != "" {
|
|
if sourceLabel != "" {
|
|
data["s_rsource"] = sourceLabel
|
|
data["s_rsource"] = sourceLabel
|
|
@@ -790,7 +788,6 @@ func (l *Login) WxLogin() {
|
|
"s_jyname": jy.GetUserName("newother", config.Sysconfig["namePrefix"].(string)), //剑鱼昵称
|
|
"s_jyname": jy.GetUserName("newother", config.Sysconfig["namePrefix"].(string)), //剑鱼昵称
|
|
"s_sourceid": channelCode,
|
|
"s_sourceid": channelCode,
|
|
}
|
|
}
|
|
- log.Println("-001--sessionId----:", l.Session().Id())
|
|
|
|
sourceLabel := redis.GetStr("limitation", fmt.Sprintf("firstVisitTagByWX_%s", l.Session().Id()))
|
|
sourceLabel := redis.GetStr("limitation", fmt.Sprintf("firstVisitTagByWX_%s", l.Session().Id()))
|
|
if sourceLabel != "" {
|
|
if sourceLabel != "" {
|
|
newUser["s_rsource"] = sourceLabel
|
|
newUser["s_rsource"] = sourceLabel
|