Commit ef90e984 by 王祖波

cms迁移

parent ebd17a82
......@@ -87,7 +87,7 @@ public class MaterialDataAdaptor {
inlineParams.put("storeId", storeId);
inlineParams.put("orderByFields", 2);
inlineParams.put("orderByType", 1);
Map<String, Object> result = DataApiUtils.http(inlineParams.toString(), apolloKey);
Map<String, Object> result = DataApiUtils.http(JSON.toJSONString(inlineParams), apolloKey);
if (result.get("data") == null) {
return null;
}
......@@ -134,7 +134,7 @@ public class MaterialDataAdaptor {
if (CollectionUtils.isNotEmpty(storeIds)) {
inlineParams.put("storeId", StringUtils.join(storeIds, ","));
}
Map<String, Object> result = DataApiUtils.http(inlineParams.toString(), apolloKey);
Map<String, Object> result = DataApiUtils.http(JSON.toJSONString(inlineParams), apolloKey);
if (result.get("data") == null) {
return null;
}
......
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 to comment