| | |
| | | |
| | | |
| | | public class NettyMsg { |
| | | public static void main(String[] args) { |
| | | Map<String,Object> map = new HashMap<String, Object>(); |
| | | //用户信息 |
| | | map.put("imgUrl","1"); |
| | | map.put("nickName","1"); |
| | | map.put("licensePlate","1"); |
| | | map.put("phone",1); |
| | | map.put("driverId",1); |
| | | map.put("carColor","1"); |
| | | map.put("modelName","1"); |
| | | map.put("brandName","1"); |
| | | map.put("driverOrderNums",1); |
| | | map.put("score",1); |
| | | |
| | | |
| | | map.put("id",1); |
| | | map.put("orderNum", "123456"); |
| | | map.put("startAddress", "测试"); |
| | | map.put("endAddress", "测试1"); |
| | | map.put("departureTime", 1533608196000L); |
| | | map.put("type",1); |
| | | map.put("mileage",1); |
| | | map.put("mileageMoney",10); |
| | | map.put("duration",10); |
| | | map.put("durationMoney",10); |
| | | map.put("nightMoney",1); |
| | | map.put("serverMoney",1); |
| | | map.put("nightMileage",10); |
| | | map.put("longMileage",10); |
| | | map.put("longDurationMoney",10); |
| | | map.put("orderMoney",10); |
| | | map.put("payMoney",10); |
| | | map.put("couponsMoney",10); |
| | | System.out.println(setMsg(Method.ping, new HashMap<String, Object>())); |
| | | } |
| | | |
| | | /** |
| | | * 返回一个正确数据 |