xingzai 1 rok pred
rodič
commit
41e9b31098
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      controllers/yanxuan_special.go

+ 1 - 1
controllers/yanxuan_special.go

@@ -242,7 +242,7 @@ func (this *BaseAuthMobileController) Detail() {
 		}
 	}
 
-	if userId == 0 || user.CompanyId == 1 {
+	if userId == 0 {
 		hasPermission = 1
 		resp.Content = utils.InterceptHtmlLength(resp.Content, 240) // 截取前80个字
 	} else {