mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:33:27 +08:00
【修复】修复同城配送坐标计算错误的问题。
This commit is contained in:
@@ -780,18 +780,18 @@ namespace CoreCms.Net.Services
|
|||||||
{
|
{
|
||||||
cartDto.costFreight = 0;
|
cartDto.costFreight = 0;
|
||||||
}
|
}
|
||||||
cartDto.error = new WebApiCallBack()
|
//cartDto.error = new WebApiCallBack()
|
||||||
{
|
//{
|
||||||
status = true,
|
// status = true,
|
||||||
msg = "运费计算成功",
|
// msg = "运费计算成功",
|
||||||
data = result,
|
// data = result,
|
||||||
otherData = new
|
// otherData = new
|
||||||
{
|
// {
|
||||||
userShiplatitude = userShip.latitude,
|
// userShiplatitude = userShip.latitude,
|
||||||
userShiplongitude = userShip.longitude,
|
// userShiplongitude = userShip.longitude,
|
||||||
reshipCoordinate
|
// reshipCoordinate
|
||||||
}
|
// }
|
||||||
};
|
//};
|
||||||
|
|
||||||
cartDto.amount = Math.Round(cartDto.amount + cartDto.costFreight, 2);
|
cartDto.amount = Math.Round(cartDto.amount + cartDto.costFreight, 2);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user