|
@@ -38,7 +38,6 @@ func (sp *SubscribePush) VipSwitch() {
|
|
|
}
|
|
|
switchOk := false
|
|
|
vt := sp.GetString("vt")
|
|
|
- log.Println("-----------------", vt)
|
|
|
if vt == "" {
|
|
|
jy.SwitchService.Get(sp.Session(), db.Mgo)
|
|
|
} else if vt == jy.SubVipFlag {
|
|
@@ -58,7 +57,6 @@ func (sp *SubscribePush) VipSwitch() {
|
|
|
} else {
|
|
|
return nil, fmt.Errorf("未知请求")
|
|
|
}
|
|
|
- log.Println(switchOk, "---", sp.GetSession(jy.SwitchService.SessionKey), "-----", jy.SwitchService.SessionKey)
|
|
|
return map[string]interface{}{
|
|
|
"vt": util.ObjToString(sp.GetSession(jy.SwitchService.SessionKey)),
|
|
|
"flag": switchOk,
|