WH01243 2 gadi atpakaļ
vecāks
revīzija
25dc8727da
1 mainītis faili ar 2 papildinājumiem un 6 dzēšanām
  1. 2 6
      src/jfw/front/shorturl.go

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

@@ -363,11 +363,7 @@ func (s *Short) LoginCommon(userId, stype, id string) error {
 			stype == "mailprivate" || stype == "indexcontent" { //邮箱推送
 			canRead = true
 		} else {
-			if stype == "bdprivate" {
-				canRead = true
-			} else {
-				canRead = SeeDetailLimit(obj, userId, sid)
-			}
+			canRead = SeeDetailLimit(obj, userId, sid)
 		}
 		if stype == "advancedProject" {
 			newCanRead := false
@@ -485,7 +481,7 @@ func (s *Short) LoginCommon(userId, stype, id string) error {
 			var node bool
 			if ((isVip && isOldVip) || isMember || isEntniche) || //老版本vip、大会员、商机管理
 				((isVip && !isOldVip) && (!(util.ObjToString(obj["subtype"]) == "拟建" || util.ObjToString(obj["subtype"]) == "采购意向"))) || //新超级订阅非采购意向”和“拟建项目”
-				stype == "mailprivate" || stype == "indexcontent" { //邮箱推送
+				stype == "mailprivate" || stype == "indexcontent" || stype == "bdprivate" { //邮箱推送
 				node = true
 			} else {
 				_, _, _, objc := pcVRT(sid, indust, stype, isVip || isMember || isEntniche)