wangchuanjin 9 năm trước cách đây
mục cha
commit
f1a35734c1

+ 1 - 1
core/src/qfw/search/searchService.go

@@ -546,7 +546,7 @@ func searhWebContentent(querymap map[string]string, n *Search, reqType string) (
 			//处理分公司
 			if res[i]["RegCapEntType"] != nil && res[i]["RegCapEntType"].(string) != "" {
 				RegCapEntType := res[i]["RegCapEntType"].(string)
-				if RegCapEntType == "5810" || RegCapEntType == "6810" || RegCapEntType == "7310" || RegCapEntType == "3200" || RegCapEntType == "3100" {
+				if RegCapEntType == "5810" || RegCapEntType == "6810" || RegCapEntType == "7310" {
 					res[i]["RegCapEntType"] = "5810"
 				} else if len(RegCapEntType) > 1 {
 					if RegCapEntType[:1] == "2" {

+ 1 - 1
core/src/qfw/search/wxsearchservice.go

@@ -331,7 +331,7 @@ func wxsearhWebContentent(querymap map[string]string, n *Wxsearch, reqType strin
 			//处理分公司
 			if res[i]["RegCapEntType"] != nil && res[i]["RegCapEntType"].(string) != "" {
 				RegCapEntType := res[i]["RegCapEntType"].(string)
-				if RegCapEntType == "5810" || RegCapEntType == "6810" || RegCapEntType == "7310" || RegCapEntType == "3200" || RegCapEntType == "3100" {
+				if RegCapEntType == "5810" || RegCapEntType == "6810" || RegCapEntType == "7310" {
 					res[i]["RegCapEntType"] = "5810"
 				} else if len(RegCapEntType) > 1 {
 					if RegCapEntType[:1] == "2" {

+ 1 - 1
core/src/qfw/yellowpage/yellowpagemanager.go

@@ -83,7 +83,7 @@ func GetEntInfo(id string) map[string]interface{} {
 			EntType = (*res)["EntType"].(string)
 			//处理分公司
 			if EntType != "" {
-				if EntType == "5810" || EntType == "6810" || EntType == "7310" || EntType == "3200" || EntType == "3100" {
+				if EntType == "5810" || EntType == "6810" || EntType == "7310" {
 					(*res)["EntType"] = "5810"
 				} else if len(EntType) > 1 {
 					if EntType[:1] == "2" {