瀏覽代碼

过滤暂停试用

xiexiaoyuan 3 年之前
父節點
當前提交
2ed4ba9ca7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/report/classify.go

+ 1 - 1
services/report/classify.go

@@ -160,7 +160,7 @@ func GetClassifyReportList(user user.UserInfo, classifyIdSecond int, pageIndex,
 		return
 	}
 	// 已购或者试用用户可见
-	if strings.Contains("永续,正式,试用", companyProduct.Status) {
+	if strings.Contains("永续,正式", companyProduct.Status) || (companyProduct.Status == "试用" && companyProduct.IsSuspend != 1) {
 		productAuthOk = true
 	}
 	classifyInfo, err := classify.GetByClassifyId(classifyIdSecond)