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