sunty
2019-07-30 82e7baf2276f4038705a83c0c5a2cb18828791e5
controllers/es.go
@@ -40,12 +40,14 @@
         //二次搜索和排序
         twiceM := GetCompareDataTwice(co,searchBody)
         util.ResponseFormat(c,code.Success,twiceM)
         return
      } else {
         m :=make(map[string]interface{},0)
         m["compareNum"] = searchBody.CompareNum
         m["total"] = 0
         m["totalList"] = []service.CompareResult{}
         util.ResponseFormat(c,code.CompareResultGone,m)
         return
      }
   }
   m :=make(map[string]interface{},0)