Explorar o código

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

wangshan %!s(int64=2) %!d(string=hai) anos
pai
achega
1ebb0f954c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/jfw/front/shorturl.go

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

@@ -490,7 +490,7 @@ func (s *Short) LoginCommon(userId, stype, id string) error {
 		}
 		var detailKey = util.If((isVip && isOldVip) || isMember || isEntniche || newCanRead, "pay", "free").(string)
 		detailKey = func() string {
-			if (isVip && isOldVip) || isMember || isEntniche || newCanRead {
+			if (isVip && isOldVip) || isMember || isEntniche || newCanRead || stype == "mailprivate" || stype == "indexcontent" || stype == "bdprivate" {
 				return "pay" //可以看全部
 			} else if isVip && !isOldVip {
 				return "new_vip_pay" //新版超级订阅不能看 采购意向