wangchuanjin 9 лет назад
Родитель
Сommit
23e622ad48
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      core/src/qfw/member/yellowpage.go

+ 4 - 4
core/src/qfw/member/yellowpage.go

@@ -171,7 +171,7 @@ func (yp *Yellowpage) EditEnterprise(id string) error {
 	}
 	id = strings.Split(id, "#")[0]
 
-	yp.T["entinfo"] = yps.GetEntInfo(id, true)
+	yp.T["entinfo"] = yps.GetEntInfo(id)
 
 	yp.T["entid"] = id
 
@@ -250,7 +250,7 @@ func (yp *Yellowpage) ShowEnterprise(id string) error {
 	}
 	id = strings.Split(id, "#")[0]
 
-	yp.T["entinfo"] = yps.GetEntInfo(id, true)
+	yp.T["entinfo"] = yps.GetEntInfo(id)
 
 	yp.T["entid"] = id
 	yp.T["serviceClassify"] = coreconfig.ServiceClassify
@@ -270,7 +270,7 @@ func (yp *Yellowpage) ShowService(id string) error {
 	yp.T["serviceName"] = "添加产品服务信息"
 	yp.T["serviceClassify"] = coreconfig.ServiceClassify
 
-	yp.T["entinfo"] = yps.GetEntInfo(id, true)
+	yp.T["entinfo"] = yps.GetEntInfo(id)
 	opLocD := yp.GetSession("opLocDistrict")
 	yp.T["opLocDistrict"] = opLocD
 	return yp.Render("/member/editservice.html", &yp.T)
@@ -305,7 +305,7 @@ func (yp *Yellowpage) EditService(id string) error {
 		yp.T["price"] = price
 	}
 
-	yp.T["entinfo"] = yps.GetEntInfo(serentid, true)
+	yp.T["entinfo"] = yps.GetEntInfo(serentid)
 	yp.T["entid"] = serentid
 	//根据服务ID获取服务信息