wangchuanjin 3 년 전
부모
커밋
624a0bd870
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/jfw/modules/app/src/app/front/swordfish.go

+ 1 - 1
src/jfw/modules/app/src/app/front/swordfish.go

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