mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:43:26 +08:00
【优化】优化使用部分积分加金额购买,申请售后回退积分的处理,增加精度到4位,减少误差。
This commit is contained in:
@@ -83,7 +83,7 @@ namespace CoreCms.Net.Model.ViewModels.DTO
|
||||
/// <summary>
|
||||
/// 积分可以抵扣多少金额
|
||||
/// </summary>
|
||||
public int pointExchangeMoney { get; set; } = 0;
|
||||
public decimal pointExchangeMoney { get; set; } = 0;
|
||||
|
||||
public List<CartProducts> list { get; set; } = new();
|
||||
|
||||
|
||||
@@ -20,8 +20,8 @@ namespace CoreCms.Net.Model.ViewModels.DTO
|
||||
public class GetUserPointResult
|
||||
{
|
||||
public int availablePoint { get; set; } = 0;
|
||||
public int pointExchangeMoney { get; set; } = 0;
|
||||
|
||||
public decimal pointExchangeMoney { get; set; } = 0;
|
||||
|
||||
public int @switch { get; set; } = 1;
|
||||
|
||||
public int point { get; set; } = 0;
|
||||
|
||||
Reference in New Issue
Block a user