|
@@ -885,11 +885,14 @@ func checkRepeatLogin(user *map[string]interface{}, rid string) {
|
|
|
}, false, false)
|
|
|
}()
|
|
|
//
|
|
|
-
|
|
|
go func() {
|
|
|
+ phoneType := qutil.ObjToString((*user)["s_appponetype"])
|
|
|
+ log.Println("极光推送,踢出下线", phoneType, s_m_openid, jpushid)
|
|
|
+ if phoneType != "HUAWEI" {
|
|
|
+ return
|
|
|
+ }
|
|
|
options := jgpush.Jgconfig.Config.Options
|
|
|
options["time_to_live"] = 864000
|
|
|
- log.Println("极光推送,踢出下线", s_m_openid, jpushid)
|
|
|
jgpush.JgpushD_Msg("", jgpush.Jgconfig.Title["signOut"].(string), "signOut", []string{jpushid}, nil, options, false)
|
|
|
}()
|
|
|
}
|