diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index f35ccbfd2..f38c17630 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -1,6 +1,7 @@ package orderman import ( + "encoding/json" "fmt" "math" "strconv" @@ -294,7 +295,9 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro for k, _ := range storeIDsMap { storeIDs2 = append(storeIDs2, k) } - params["storeIDs"] = storeIDs2 + if data, err := json.Marshal(storeIDs2); err == nil { + params["storeIDs"] = string(data) + } } } orders, totalCount, err := dao.GetOrders(dao.GetDB(), nil, false, isIncludeFake, fromDateStr, toDateStr, isDateFinish, skuIDs, isJxFirst, "", params, offset, pageSize)