Commit 251aa622 by huangchengyi

大陆货期

parent cf2de43c
Showing with 2 additions and 4 deletions
......@@ -44,10 +44,8 @@ func (qs *ParityService) GetParity(ctx *gin.Context) (results model.LyResponse)
}
//获取查询条件
queryString := query.GetParityQuery(ctx,target_goods_name,target_goods_type)
indexTarget := "liexin_ziying"
if deliver == "2" {
indexTarget = config.Get("es.search_supplier").String();
}
indexTarget := config.Get("es.search_supplier").String()+",liexin_ziying" //所有索引参与比价
//查询es
esResult, err := es.CurlEsPrimary(indexTarget, queryString)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment