Commit 04b0d8e0 by weijiguang

push

parent 34dc237d
...@@ -90,8 +90,8 @@ public class ApplicationController { ...@@ -90,8 +90,8 @@ public class ApplicationController {
shop.setDistance("-1"); shop.setDistance("-1");
} }
JSONArray goodsList = redisJson.getJSONArray("goods"); JSONArray goodsList = redisJson.getJSONArray("goods");
log.info("redisJson1:{}", redisJson.toJSONString()); // log.info("redisJson1:{}", redisJson.toJSONString());
log.info("goods1:{}", goodsList.toJSONString()); // log.info("goods1:{}", goodsList.toJSONString());
if (!CollectionUtils.isEmpty(goodsList)) { if (!CollectionUtils.isEmpty(goodsList)) {
for (int i = 0; i < goodsList.size(); i++) { for (int i = 0; i < goodsList.size(); i++) {
JSONObject goods = goodsList.getJSONObject(i); JSONObject goods = goodsList.getJSONObject(i);
...@@ -110,8 +110,8 @@ public class ApplicationController { ...@@ -110,8 +110,8 @@ public class ApplicationController {
goodsList.forEach(x -> { goodsList.forEach(x -> {
}); });
} }
log.info("redisJson2:{}", redisJson.toJSONString()); // log.info("redisJson2:{}", redisJson.toJSONString());
log.info("goods2:{}", goodsList.toJSONString()); // log.info("goods2:{}", goodsList.toJSONString());
redisJson.put("shop", shop); redisJson.put("shop", shop);
//推送数据给安卓 //推送数据给安卓
......
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