WH01243 il y a 2 ans
Parent
commit
453406e4fe
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      src/jfw/front/shorturl.go

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

@@ -363,7 +363,11 @@ func (s *Short) LoginCommon(userId, stype, id string) error {
 			stype == "mailprivate" || stype == "indexcontent" { //邮箱推送
 			canRead = true
 		} else {
-			canRead = SeeDetailLimit(obj, userId, sid)
+			if stype == "bdprivate" {
+				canRead = true
+			} else {
+				canRead = SeeDetailLimit(obj, userId, sid)
+			}
 		}
 		if stype == "advancedProject" {
 			newCanRead := false