Commit e593c091 authored by litengwei's avatar litengwei

代码提交

parent 8ee69ebe
......@@ -822,7 +822,11 @@ public class ProjectController extends BaseController {
JSONObject jsonObject = new JSONObject();
String[] split = lengths.toString().split(".");
String s =split[0]+"Km";
String s = "0Km";
if(split.length != 0) {
s =split[0]+"Km";
}
jsonObject.put("number",count);
jsonObject.put("lengths",s);
return ResponseHelper.buildResponse(jsonObject);
......
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