mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 21:03:26 +08:00
# 2022-02-25
### 1.3.7 开源社区版: 无 ### 0.2.5 会员专业版: 【新增】数据库sku表【CoreCmsProducts】增加"赠送积分"【points】字段。 【新增】商品sku新增赠送积分功能,订单结算后可根据单品的积分与数量进行计算。与订单积分按照金额比例获取并存。 【新增】前端新增是否显示单品赠送积分功能,勾选显示,将在商品详情,购物车等界面显示购买此物品赠送多少积分的效果。 【优化】前端使用显示“积分”两个字的界面,替换为后台设置的名称。 【修复】修复form表单录入编辑界面属性值重复的问题。#I4V1PE 【修复】修复商品添加和编辑界面存在的错别字。#I4V1OR 【修复】修复广告位设置商品,弹出选择框不显示图片的问题。#I4V1EO
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user