|
@@ -498,7 +498,7 @@ func (m *Front) WxpushViewPaging() {
|
|
|
func (f *Front) Historypush() error {
|
|
|
if f.GetString("t") == "member" {
|
|
|
f.SetSession(jy.SwitchService.SessionKey, jy.SwitchService.Member)
|
|
|
- } else {
|
|
|
+ } else if f.GetString("t") != "" {
|
|
|
f.SetSession(jy.SwitchService.SessionKey, jy.SwitchService.Vip)
|
|
|
}
|
|
|
userId, _ := f.GetSession("userId").(string)
|