# 2022-02-25

### 1.3.7 开源社区版:
无
### 0.2.5 会员专业版:
【新增】数据库sku表【CoreCmsProducts】增加"赠送积分"【points】字段。
【新增】商品sku新增赠送积分功能,订单结算后可根据单品的积分与数量进行计算。与订单积分按照金额比例获取并存。
【新增】前端新增是否显示单品赠送积分功能,勾选显示,将在商品详情,购物车等界面显示购买此物品赠送多少积分的效果。
【优化】前端使用显示“积分”两个字的界面,替换为后台设置的名称。
【修复】修复form表单录入编辑界面属性值重复的问题。#I4V1PE
【修复】修复商品添加和编辑界面存在的错别字。#I4V1OR
【修复】修复广告位设置商品,弹出选择框不显示图片的问题。#I4V1EO
This commit is contained in:
JianWeie
2022-02-25 01:48:37 +08:00
parent 232640f83f
commit 442d7ef952
29 changed files with 218 additions and 48 deletions

View File

@@ -77,6 +77,13 @@ namespace CoreCms.Net.Model.Entities
[SugarColumn(IsIgnore = true)]
public decimal pointsDeduction { get; set; } = 0;
/// <summary>
/// 赠送积分
/// </summary>
[Display(Name = "赠送积分")]
[SugarColumn(IsIgnore = true)]
public int points { get; set; } = 0;
/// <summary>
/// 图集
/// </summary>

View File

@@ -4,7 +4,7 @@
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2022/2/22 0:43:08
* CreateTime: 2022/2/24 23:51:11
* Description: 暂无
***********************************************************************/
@@ -136,6 +136,18 @@ namespace CoreCms.Net.Model.Entities
public System.Decimal pointsDeduction { get; set; }
/// <summary>
/// 赠送积分
/// </summary>
[Display(Name = "赠送积分")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 points { get; set; }
/// <summary>
/// 重量(千克)
/// </summary>