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