Browse Source

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

wangshan 2 years ago
parent
commit
f25ca71295
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/jfw/front/shorturl.go

+ 1 - 2
src/jfw/front/shorturl.go

@@ -488,8 +488,7 @@ func (s *Short) LoginCommon(userId, stype, id string) error {
 				newCanRead = true
 			}
 		}
-		var detailKey = util.If((isVip && isOldVip) || isMember || isEntniche || newCanRead, "pay", "free").(string)
-		detailKey = func() string {
+		var detailKey = func() string {
 			if (isVip && isOldVip) || isMember || isEntniche || newCanRead || stype == "mailprivate" || stype == "indexcontent" || stype == "bdprivate" {
 				return "pay" //可以看全部
 			} else if isVip && !isOldVip {