mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:43:26 +08:00
【优化】后台设置部分地区运费,从整数调整为支持小数点。
This commit is contained in:
@@ -156,7 +156,7 @@ namespace CoreCms.Net.Services
|
||||
var item = (JObject)jToken;
|
||||
//if (item.Property("area") == null) continue;
|
||||
var area = item["area"].ObjectToString();
|
||||
var firstunitAreaPrice = item["firstunitAreaPrice"].ObjectToInt(0);
|
||||
var firstunitAreaPrice = item["firstunitAreaPrice"].ObjectToDecimal(0);
|
||||
var continueunitAreaPrice = item["continueunitAreaPrice"].ObjectToInt(0);
|
||||
if (!string.IsNullOrEmpty(area))
|
||||
{
|
||||
@@ -222,7 +222,7 @@ namespace CoreCms.Net.Services
|
||||
return shipMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user