mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:03:25 +08:00
【优化】完善不开启分销,代理模式下,走邀请好友计算三级佣金;不开启分销或者代理的情况下,默认不去计算分销和代理佣金。
【调整】目前的分销三级业务逻辑是用户下单,往上找三级必须都是分销商,才能每级都分佣,中间可能不是分销商而中断向上递归,调整为用户下单,往上找三级只要三级有是分销商的,就根据佣金结果给与佣金。不中断。 【优化】区分老版本企业付款到零钱与新版本商家付款到零钱enum命名。
This commit is contained in:
@@ -339,10 +339,12 @@ namespace CoreCms.Net.Configuration
|
||||
{
|
||||
[Description("银行线下转账")]
|
||||
银行线下转账 = 0,
|
||||
[Description("微信付款到零钱")]
|
||||
微信付款到零钱 = 1,
|
||||
[Description("微信付款到银行卡")]
|
||||
微信付款到银行卡 = 2
|
||||
[Description("企业付款到零钱")]
|
||||
企业付款到零钱 = 1,
|
||||
[Description("企业付款到银行卡")]
|
||||
企业付款到银行卡 = 2,
|
||||
[Description("商家转账到零钱")]
|
||||
商家转账到零钱 = 3
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -3064,5 +3066,27 @@ namespace CoreCms.Net.Configuration
|
||||
|
||||
#endregion
|
||||
|
||||
#region 邀请好友
|
||||
|
||||
/// <summary>
|
||||
/// 邀请好友佣金分配方式
|
||||
/// </summary>
|
||||
public enum InviteCommissionType
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 百分比
|
||||
/// </summary>
|
||||
[Description("百分比")]
|
||||
CommissionTypePre = 1,
|
||||
/// <summary>
|
||||
/// 固定
|
||||
/// </summary>
|
||||
[Description("固定")]
|
||||
CommissionTypeFixed = 2,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user