免费出现也计算公里数,按公交计算

This commit is contained in:
曹磊 2025-03-27 10:16:24 +08:00
parent 53a40794d6
commit e56fa95726
1 changed files with 1 additions and 1 deletions

View File

@ -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){
JSONObject result = null;
if(tripWay == null) tripWay = 1;
if(tripWay != 1 && tripWay != 2) return null;
// if(tripWay != 1 && tripWay != 2) return null; //免费出现也计算公里数按公交计算
switch (mapType){
case TX: {
//腾讯地图API