|
@@ -104,7 +104,7 @@ func (this *SingleLogin) SingleLogin() error {
|
|
|
redis.Put("other", fmt.Sprintf("digitalreplay_%s", openid), id, 24*60*60)
|
|
|
}(id)
|
|
|
}
|
|
|
- if this.GetSession("userId") == nil {
|
|
|
+ if this.GetSession("userId") == nil || this.GetSession("phone") == nil {
|
|
|
CreateSession(map[string]interface{}{
|
|
|
"s_m_openid": openid,
|
|
|
"s_unionid": map[string]interface{}{"$ne": openid}, //处理排除未关注用户点击菜单创建的用户
|