Pārlūkot izejas kodu

Merge branch 'hotfix/v4.8.45.5_ws' of qmx/jy into hotfix/v4.8.45.5

zhangxinlei1996 2 gadi atpakaļ
vecāks
revīzija
a0f9baa36c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/jfw/front/singleLogin.go

+ 1 - 1
src/jfw/front/singleLogin.go

@@ -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}, //处理排除未关注用户点击菜单创建的用户