修复状态问题

parent 8c208610
Showing with 3 additions and 0 deletions
......@@ -52,6 +52,9 @@ func search(index string, bomId int, bomItems []model.BomItem, deliveryType, sor
common.PrintDebug(res.Responses)
v, err := json.Marshal(res.Responses)
common.PrintDebug("格式化数据:" + string(v))
gjArray := gjson.Get(string(v), "hits.hits.#._source").Array()
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