瀏覽代碼

no message

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