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