Selaa lähdekoodia

Merge branch 'cygx/cygx_13.3_bug' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai 1 vuosi sitten
vanhempi
commit
a9b11d4f8a
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      controllers/company_apply.go

+ 5 - 0
controllers/company_apply.go

@@ -2044,6 +2044,11 @@ func (this *CompanyApplyController) ApplyContract() {
 			//	return
 			//}
 
+			filterPermissionName := []string{"专家", "路演服务"} // 需要过滤不展示的行业
+			if utils.InArrayByStr(filterPermissionName, n.PermissionName) {
+				continue
+			}
+
 			if utils.InArrayByInt(permissionIds, n.ChartPermissionId) {
 				fmt.Println(1)
 				n.Checked = true