Commit 98d9c7ff2eafffffb1649e2a63b329f046945941

Authored by 娄高锋
1 parent 6c60709b

充电量接口

src/main/java/com/bsth/server_rs/electric/ElectricService.java
@@ -67,7 +67,7 @@ public class ElectricService { @@ -67,7 +67,7 @@ public class ElectricService {
67 public Map<String, Object> orderDataEnter(@RequestBody JSONObject body){ 67 public Map<String, Object> orderDataEnter(@RequestBody JSONObject body){
68 Map<String, Object> resMap = new HashMap<String, Object>(); 68 Map<String, Object> resMap = new HashMap<String, Object>();
69 try { 69 try {
70 - System.out.println(body); 70 + logger.info(body.toJSONString());
71 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 71 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
72 SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 72 SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
73 73