瀏覽代碼

no message

xingzai 1 年之前
父節點
當前提交
41e9b31098
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {