免费出现也计算公里数,按公交计算
This commit is contained in:
parent
53a40794d6
commit
e56fa95726
|
@ -238,7 +238,7 @@ public class CommonMapUtils {
|
||||||
public static JSONObject calcTaxiMoney(MapEnum mapType,Integer tripWay, String longitude, String latitude, String toLongitude, String toLatitude, String city, String cityCode){
|
public static JSONObject calcTaxiMoney(MapEnum mapType,Integer tripWay, String longitude, String latitude, String toLongitude, String toLatitude, String city, String cityCode){
|
||||||
JSONObject result = null;
|
JSONObject result = null;
|
||||||
if(tripWay == null) tripWay = 1;
|
if(tripWay == null) tripWay = 1;
|
||||||
if(tripWay != 1 && tripWay != 2) return null;
|
// if(tripWay != 1 && tripWay != 2) return null; //免费出现也计算公里数,按公交计算
|
||||||
switch (mapType){
|
switch (mapType){
|
||||||
case TX: {
|
case TX: {
|
||||||
//腾讯地图API
|
//腾讯地图API
|
||||||
|
|
Loading…
Reference in New Issue