xingzai 2 éve
szülő
commit
4aaf52425e
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      controllers/article.go

+ 3 - 0
controllers/article.go

@@ -97,6 +97,9 @@ func (this *ArticleController) Detail() {
 				br.ErrMsg = "判断是否已申请过试用失败,Err:" + err.Error()
 				return
 			}
+			if hasPermission == 2 {
+				hasPermission = 3
+			}
 			popupMsg = "需要升级行业套餐权限才可查看此报告,请联系对口销售"
 			resp.PopupMsg = popupMsg
 			resp.HasPermission = hasPermission