mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:03:25 +08:00
【新增】新增新人注册可以自动识别并发放优惠券。
This commit is contained in:
@@ -898,6 +898,22 @@ namespace CoreCms.Net.Configuration
|
||||
/// </summary>
|
||||
public static readonly string ShowLiveBroadCast = "showLiveBroadCast";
|
||||
|
||||
/// <summary>
|
||||
/// 是否开启赠送优惠券
|
||||
/// </summary>
|
||||
|
||||
public static readonly string IsAllowGiveCoupon = "isAllowGiveCoupon";
|
||||
|
||||
/// <summary>
|
||||
/// 选择注册赠送优惠券
|
||||
/// </summary>
|
||||
public static readonly string SelectGiveCoupon = "selectGiveCoupon";
|
||||
|
||||
/// <summary>
|
||||
/// 赠送数量
|
||||
/// </summary>
|
||||
public static readonly string GiveCouponNumber = "giveCouponNumber";
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -45,6 +45,11 @@ namespace CoreCms.Net.Configuration
|
||||
di.Add(SystemSettingConstVars.PrivacyPolicyId, new DictionaryKeyValues() { sKey = "隐私政策", sValue = "4" });
|
||||
di.Add(SystemSettingConstVars.PrivacyPolicy, new DictionaryKeyValues() { sKey = "隐私政策", sValue = "" });
|
||||
|
||||
//开启赠送新人优惠券
|
||||
di.Add(SystemSettingConstVars.IsAllowGiveCoupon, new DictionaryKeyValues() { sKey = "是否赠送新人优惠券", sValue = "2" });
|
||||
di.Add(SystemSettingConstVars.SelectGiveCoupon, new DictionaryKeyValues() { sKey = "选择注册赠送优惠券", sValue = "0" });
|
||||
di.Add(SystemSettingConstVars.GiveCouponNumber, new DictionaryKeyValues() { sKey = "赠送优惠券数量", sValue = "1" });
|
||||
|
||||
//开关功能
|
||||
di.Add(SystemSettingConstVars.ShowStoreBalanceRechargeSwitch, new DictionaryKeyValues() { sKey = "显示充值功能", sValue = "2" });
|
||||
di.Add(SystemSettingConstVars.IsAllowWithdrawCash, new DictionaryKeyValues() { sKey = "是否允许提现", sValue = "2" });
|
||||
|
||||
Reference in New Issue
Block a user