Browse Source

资讯详情查询修改

WH01243 1 year ago
parent
commit
1fd2a2962e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/internal/service/employService.go

+ 1 - 1
api/internal/service/employService.go

@@ -231,7 +231,7 @@ func infoFind(id string, v1 string) map[string]interface{} {
 	toptype := common.InterfaceToStr(obj["toptype"])
 	subtype := common.InterfaceToStr(obj["subtype"])
 	pushTime := ""
-	if ok && obj != nil && len(obj) > 0 {
+	if obj != nil && len(obj) > 0 {
 		data["title"] = common.ObjToString(obj["title"])
 		data["city"] = obj["city"]
 		data["area"] = obj["area"]