old_flsystem/类库/Api.Framework/Tools/PointManageConfig.cs

1016 lines
46 KiB
C#
Raw Permalink Normal View History

2022-09-20 03:10:29 +00:00
using Api.Framework.Enums;
using Api.Framework.Model;
using Api.Framework.SDK;
using Robot.Framework.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Api.Framework.Tools
{
[Config(Name = "插件-积分管理-配置")]
public class PointManageConfig
{
#region
/// <summary>
/// 签到开关
/// </summary>
[
Category("1、签到设置"), DisplayName("01.签到开关"), DefaultValue(SwitchType.),
Description(@"签到开关设置")
]
public SwitchType Checkin_Switch { get; set; }
/// <summary>
/// 签到周期
/// </summary>
[
Category("1、签到设置"), DisplayName("02.签到周期"), DefaultValue(@"24"),
Description(@"签到周期,单位:小时"), Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public int Checkin_Period { get; set; }
/// <summary>
/// 签到指令
/// </summary>
[
Category("1、签到设置"), DisplayName("03.签到指令"), DefaultValue(@"^(签到|打卡)$"),
Description(@"签到指令,支持正则表达"), Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string Checkin_CMD { get; set; }
/// <summary>
/// 签到最小积分奖励
/// </summary>
[
Category("1、签到设置"), DisplayName("04.最小奖励"), DefaultValue(0.01),
Description(@"签到奖励积分区间最小值")
]
public double Checkin_Reward_Min { get; set; }
/// <summary>
/// 签到最大积分奖励
/// </summary>
[
Category("1、签到设置"), DisplayName("05.最大奖励"), DefaultValue(0.05),
Description(@"签到奖励积分区间最大值")
]
public double Checkin_Reward_Max { get; set; }
/// <summary>
/// 签到成功提示语
/// </summary>
[
Category("1、签到设置"), DisplayName(@"06.签到成功"), DefaultValue(@"一一一一签 到 成 功一一一一
[] []
[]
[]
[] []
[]"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[签到奖励]、[连续签到次数]、[总共签到次数]、[剩余积分]、[积分名称]、[每日语录]、[连续签到次数]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string CheckinSuccessTip { get; set; }
/// <summary>
/// 重复签到提示语
/// </summary>
[
Category("1、签到设置"), DisplayName(@"07.重复签到"), DefaultValue(@"一一一一签 到 失 败一一一一
,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string CheckinRepeatTip { get; set; }
/// <summary>
/// 无购物禁止签到开关
/// </summary>
[
Category("1、签到设置"), DisplayName("08.无购物禁止签到开关"), DefaultValue(SwitchType.),
Description(@"无购物禁止签到开关")
]
public SwitchType Restrict_Switch { get; set; }
private int _CheckinRestrictMonth;
/// <summary>
/// 限制签到提示语
/// </summary>
[
Category("1、签到设置"), DisplayName(@"09.无购物禁止签到月数"), DefaultValue(1),
Description(@"自定义无购物禁止签到的月数,默认1个月")
]
public int CheckinRestrictMonth
{
get
{
return _CheckinRestrictMonth;
}
set
{
if (value <= 0)
_CheckinRestrictMonth = 1;
else
_CheckinRestrictMonth = value;
}
}
/// <summary>
/// 限制签到提示语
/// </summary>
[
Category("1、签到设置"), DisplayName(@"10.无购物禁止签到提示语"), DefaultValue(@"一一一一签 到 限 制一一一一
,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string CheckinRestrictTip { get; set; }
#endregion
#region
/// <summary>
/// 查看个人积分指令
/// </summary>
[
Category("2、积分设置"), DisplayName("01.查询指令"), DefaultValue(@"^(余额|积分|账单|信息|明细|个人信息)$"),
Description(@"用户查看个人积分信息"), Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string CheckUserPoint_CMD { get; set; }
/// <summary>
/// 查看个人积分成功提示语
/// </summary>
[
Category("2、积分设置"), DisplayName("02.查询成功"), DefaultValue(@"一一一一查 询 成 功一一一一
[] []
[] []
[]/[]
[]/[]
[]/[]
[]/[]
[]/[]
[]/[]
[]/[]
[]
2-5,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[支付宝姓名]、[支付宝账号]、[剩余积分]、[提成积分]、[累计积分]、[其他积分]、[推广积分]、[消费积分]、[积分名称]、
[拼多多冻结金额][][][][][]
[淘宝冻结金额][][][][][]
[京东冻结金额][][][][][]
[抖音冻结金额][][][][][]
[苏宁冻结金额][][][][][]
[快手冻结金额][][][][][]
[唯品会冻结金额][][][][][]
[未收货总金额][][][][][]
[淘宝售后中订单数][][][][][][][退][][退][][][][][]
[完成首单人数][][][][]"),
//[待结算订单数]、[待收货订单数]、[待收货积分]、[待结算积分]、
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string CheckPointSuccessTip { get; set; }
#endregion
#region
/// <summary>
/// 绑定支付宝开关
/// </summary>
[
Category("3、支付宝设置"), DisplayName("01.支付宝开关"), DefaultValue(SwitchType.),
Description(@"支付宝开关功能,将决定是否使用支付宝人工审核")
]
public SwitchType AlipaySwitch { get; set; }
/// <summary>
/// 绑定支付宝指令
/// </summary>
[
Category("3、支付宝设置"), DisplayName("02.绑定指令"), DefaultValue(@"^绑定\s+(?<账号>[^\s]+?)\s+(?<名称>[^\s]+?)$"),
Description(@"用户绑定支付宝,支持正则表达式
<><> ;
"), Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string Alipay_Bind_CMD { get; set; }
/// <summary>
/// 支付宝绑定平台
/// </summary>
[
Category("3、支付宝设置"), DisplayName("03.绑定平台"), DefaultValue(@"微信"),
Description(@"需要绑定的平台微信、QQ、微信公众号"),
Editor(typeof(ChatTypeControl), typeof(System.Drawing.Design.UITypeEditor))
]
public string Alipay_ChatType { get; set; }
/// <summary>
/// 支付宝绑定成功
/// </summary>
[
Category("3、支付宝设置"), DisplayName("04.绑定成功"), DefaultValue(@"一一一一绑 定 成 功一一一一
[]
[]
,,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[支付宝姓名]、[支付宝账号]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string AlipayBindSuccessTip { get; set; }
#endregion
#region
/// <summary>
/// 绑定身份证开关
/// </summary>
[
Category("4、身份证绑定"), DisplayName("01.提现绑定身份证开关"), DefaultValue(SwitchType.),
Description(@"提现绑定身份证开关,关闭不用给用户绑定身份证即可提现,反之提现需要绑定身份证")
]
public SwitchType IdentityIdSwitch { get; set; }
/// <summary>
/// 身份证真实性AppKey
/// </summary>
[
Category("4、身份证绑定"), DisplayName("02.身份证真实性AppKey"),
Description(@""),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string IdentityIdCheckAppKey { get; set; }
/// <summary>
/// 身份姓名匹配AppKey
/// </summary>
[
Category("4、身份证绑定"), DisplayName("03.身份姓名匹配AppKey"),
Description(@""),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string IdentityIdMatchAppKey { get; set; }
/// <summary>
/// 身份证绑指令
/// </summary>
[
Category("4、身份证绑定"), DisplayName("04.身份证绑定指令"), DefaultValue(@"^身份证\s+(?<身份证号>.+?)\s+(?<姓名>.+?)$"),
Description(@"用户绑定支付宝,支持正则表达式
<><> ;
"), Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string IdentityId_Bind_CMD { get; set; }
/// <summary>
/// 身份证绑定成功
/// </summary>
[
Category("4、身份证绑定"), DisplayName("05.绑定成功"), DefaultValue(@"一一一一绑 定 成 功一一一一
[]
[]
,,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[身份证姓名]、[身份证号码]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string IdentityIdBindSuccessTip { get; set; }
/// <summary>
/// 身份证绑定失败
/// </summary>
[
Category("4、身份证绑定"), DisplayName("06.绑定失败"), DefaultValue(@"一一一一绑 定 失 败一一一一
[]
[]
,"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[身份证姓名]、[身份证号码]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string IdentityIdBindUSuccessTip { get; set; }
/// <summary>
/// 身份证未绑定 - 提现操作
/// </summary>
[
Category("4、身份证绑定"), DisplayName("07.身份证未绑定 - 提现操作"), DefaultValue(@"一一一一提 现 失 败一一一一
123456789123456789
,,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[身份证姓名]、[身份证号码]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string IdentityIdUnBindExchangeTip { get; set; }
#endregion
#region
/// <summary>
/// 无购物记录禁止提现
/// </summary>
[
Category("5、提现设置"), DisplayName("01.无购物记录禁止提现"), DefaultValue(SwitchType.),
Description(@"开启时,禁止无购物记录的人进行提现操作")
]
public SwitchType Unsettled_Forbid_Exchange { get; set; }
/// <summary>
/// 兑换指令
/// </summary>
[
Category("5、提现设置"), DisplayName("02.兑换指令"), DefaultValue(@"^(兑换|提现|转账)$"),
Description(@"积分提现指令"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string Exchange_CMD { get; set; }
/// <summary>
/// 开启整数提现
/// </summary>
[
Category("5、提现设置"), DisplayName("03.开启整数提现"), DefaultValue(SwitchType.),
Description(@"开启时,兑换的金额包含小数,小数部分将不予提现
1")
]
public SwitchType Integer_Exchange_Switch { get; set; }
[Browsable(false)]
private double _exchange_Min_Point { get; set; }
/// <summary>
/// 兑换最低积分
/// </summary>
[
Category("5、提现设置"), DisplayName("04.每次最低提现额度"), DefaultValue(1.00),
Description(@"每次最低提现额度,低于这个金额的用户无法执行提现操作")
]
public double Exchange_Min_Point
{
get { return _exchange_Min_Point; }
set
{
if (value <= 0)
_exchange_Min_Point = 0.01;
else
_exchange_Min_Point = value;
}
}
[Browsable(false)]
public double _exchange_Max_Point { get; set; }
/// <summary>
/// 兑换最高积分
/// </summary>
[
Category("5、提现设置"), DisplayName("05.每次最高提现额度"), DefaultValue(100.00),
Description(@"每次最高提现额度")
]
public double Exchange_Max_Point
{
get { return _exchange_Max_Point; }
set
{
if (value <= 0)
_exchange_Max_Point = 0.01;
else
_exchange_Max_Point = value;
}
}
[Browsable(false)]
public long _exchange_Num { get; set; }
/// <summary>
/// 每日兑换次数
/// </summary>
[
Category("5、提现设置"), DisplayName("06.每日最多兑换次数"), DefaultValue(1L),
Description(@"每位用户当天最多提现的次数")
]
public long Exchange_Num
{
get { return _exchange_Num; }
set
{
if (value < 0)
_exchange_Num = 1;
else
_exchange_Num = value;
}
}
/// <summary>
/// 新用户提现次数限制开关
/// </summary>
[
Category("5、提现设置"), DisplayName("07.新用户提现限制开关"), DefaultValue(SwitchType.),
Description(@"开启时,新人提现将被限制,直接进入人工审核")
]
public SwitchType Audit_Exchange_Frequency_SwitchType { get; set; }
/// <summary>
/// 新用户提现次数限制
/// </summary>
[
Category("5、提现设置"), DisplayName("08.新用户提现限制"), DefaultValue(2),
Description(@"该值为提现次数限制值,新用户提现次数小于等于该值将人工审核")
]
public long Audit_Exchange_Frequency_Baseline { get; set; }
/// <summary>
/// 超过提现次数限制
/// </summary>
[
Category("5、提现设置"), DisplayName("09.新用户提现限制 - 通知机器人"), DefaultValue(@"审核通知
[]
[]
[]
[]
[]
[]"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[提现金额]、[剩余积分]、[积分名称]、[支付宝姓名]、[支付宝账号]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeFrequencyLimitDingdingTip { get; set; }
[
Category("5、提现设置"), DisplayName("10.限制提现"), DefaultValue(@"一一一一提 现 限 制一一一一
[]
"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[限制兑换时间]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string Ban_Exchange_Tip { get; set; }
[
Category("5、提现设置"), DisplayName("11-1.禁止提现_无结算订单"), DefaultValue(@"一一一一提 现 失 败一一一一
"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string Unsettled_Forbid_Exchange_Tip { get; set; }
[
Category("5、提现设置"), DisplayName("11-2.禁止提现_无付款订单"), DefaultValue(@"一一一一提 现 失 败一一一一
"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string NotReceiving_Forbid_Exchange_Tip { get; set; }
/// <summary>
/// 成功提交兑换提示语
/// </summary>
[
Category("5、提现设置"), DisplayName("12.申请成功"), DefaultValue(@"一一一一申 请 成 功一一一一
[][]
[][]
24,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[提现金额]、[剩余积分]、[冻结总金额]、[未收货总金额]、[积分名称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeSuccessTip { get; set; }
/// <summary>
/// 成功提交兑换提示语
/// </summary>
[
Category("5、提现设置"), DisplayName("13.申请成功 - 通知机器人"), DefaultValue(@"审核通知
[]
[]
[]
[]
[]
[]
[]"),
Description(@"支持变量:[平台类型]、[机器人账号]、[机器人昵称]、[账号]、[昵称]、[提现金额]、[剩余积分]、[积分名称]、[支付宝姓名]、[支付宝账号]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeSuccessDingdingTip { get; set; }
/// <summary>
/// 申请失败-未绑定支付宝
/// </summary>
[
Category("5、提现设置"), DisplayName("14.申请失败-未绑定支付宝"), DefaultValue(@"一一一一兑 换 失 败一一一一
!
18100000000
,"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeUnBindAlipayTip { get; set; }
/// <summary>
/// 申请失败-重复提交
/// </summary>
[
Category("5、提现设置"), DisplayName("15.申请失败-重复提交"), DefaultValue(@"一一一一兑 换 失 败一一一一
[][],!"),
Description(@"上一笔未处理,不予申请二次兑换
[][][][][][][][]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeUntreatedTip { get; set; }
/// <summary>
/// 申请失败-积分不足
/// </summary>
[
Category("5、提现设置"), DisplayName("16.申请失败-积分不足"), DefaultValue(@"一一一一兑 换 失 败一一一一
[][],[][]!
[][]
[][]"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[剩余积分]、[最低提现额度]、[冻结总金额]、[未收货总金额]、[已兑换积分]、[积分名称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeErrorTip { get; set; }
/// <summary>
/// 群内提现限制开关
/// </summary>
[
Category("5、提现设置"), DisplayName("17.群内提现限制开关"), DefaultValue(SwitchType.),
Description(@"开启时,群内将无法提现,需要添加好友才能进行提现操作")
]
public SwitchType ExchangeErrorGroupBan_SwitchType { get; set; }
/// <summary>
/// 申请失败-微信群无法提现
/// </summary>
[
Category("5、提现设置"), DisplayName("18.申请失败-微信群无法提现"), DefaultValue(@"一一一一兑 换 失 败一一一一
[][]
"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[剩余积分]、[最低提现额度]、[冻结总金额]、[未收货总金额]、[已兑换积分]、[积分名称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeErrorGroupBanTip { get; set; }
/// <summary>
/// 申请失败-次数不足
/// </summary>
[
Category("5、提现设置"), DisplayName("19.申请失败-次数不足"), DefaultValue(@"一一一一兑 换 失 败一一一一
[],,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[兑换次数]、[剩余积分]、[已兑换积分]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeInsufficientNumTip { get; set; }
/// <summary>
/// 提现失败-审核未过退回
/// </summary>
[
Category("5、提现设置"), DisplayName("20.提现失败-审核未过退回"), DefaultValue(@"一一一一兑 换 失 败一一一一
[][]退!
:[]"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[兑换金额]、[积分名称]、[剩余积分]、[已兑换积分]、[备注]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeReturnTip { get; set; }
/// <summary>
/// 提现失败-审核未过没收
/// </summary>
[
Category("5、提现设置"), DisplayName("21.提现失败-审核未过没收"), DefaultValue(@"一一一一兑 换 失 败一一一一
[][]!
:[]"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[兑换金额]、[剩余积分]、[已兑换积分]、[积分名称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeConfiscateTip { get; set; }
/// <summary>
/// 提现成功-通过审核
/// </summary>
[
Category("5、提现设置"), DisplayName("22.提现成功-通过审核"), DefaultValue(@"一一一一兑 换 成 功一一一一
[][],!
Ps:,!"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[兑换金额]、[剩余积分]、[已兑换积分]、[积分名称]、[领取地址](仅限商户有效)"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeAdoptTip { get; set; }
[
Category("5、提现设置"), DisplayName("23.商户付款通知(优先使用小程序)"), DefaultValue(SwitchType.),
Description(@"如果商户支持小程序,将会优先推送小程序模板!(届时 5-22 设置的提示语,将不会推送)")]
public SwitchType ExchangeCommercialPayTip_MiniApp { get; set; } = SwitchType.;
/// <summary>
/// 商户付款通知
/// </summary>
[
Category("5、提现设置"), DisplayName("24.商户付款通知"), DefaultValue(@"一一一一等 待 领 取一一一一
[领取地址]
"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[领取地址]、[兑换金额]、[积分名称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeCommercialPayTip { get; set; }
/// <summary>
/// 商户付款通知
/// </summary>
[
Category("5、提现设置"), DisplayName("25.商户付款通知 - 直接到账"), DefaultValue(@"一一一一商 户 转 账 成 功一一一一
[兑换金额]
"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[兑换金额]、[积分名称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeCommercialEftTip { get; set; }
private string _notice_robotname;
[Category("5、提现设置"), DisplayName("26.钉钉/微信群机器人"), DefaultValue("请选择(钉钉/微信群机器人API名称"), Description(@"请选择已存在的机器人名称,如果还没有添加,在【系统管理->群通知机器人】中添加机器人!
使"), TypeConverter(typeof(notice_robotname_item))]
public string notice_robotname
{
get { return _notice_robotname; }
set
{
_notice_robotname = value;
}
}
public class notice_robotname_item : UI.Framework.Entitys.MyTypeConverter
{
public override string[] GetValues()
{
var session = ApiClient.GetSession();
var apis = session.FindNoticeapiRobots().ToArray();
var rst = new List<string>();
rst.Add("请选择(钉钉/微信群机器人API名称");
foreach (var item in apis) rst.Add(item.name);
return rst.ToArray();
}
}
#endregion
#region - ()
/// <summary>
/// 支付方式
/// </summary>
[
Category("6、提现设置 - 微信自动转账设置"), DisplayName("01.支付方式"), DefaultValue(PointPayType.),
Description(@"兑换支付方式:
1)
2)
3)")
]
public PointPayType Exchange_PayType { get; set; }
/// <summary>
/// 微信自动转账单笔最高上限
/// </summary>
[
Category("6、提现设置 - 微信自动转账设置"), DisplayName("02.最高额度"), DefaultValue(40.00),
Description(@"微信自动转账,单笔最高兑换上限")
]
/// <summary>
/// 每次自动转账最大金额
/// </summary>
public double Exchange_Transmatic_Maxpoint { get; set; }
/// <summary>
/// 微信自动转账每日上限(总金额)
/// </summary>
[
Category("6、提现设置 - 微信自动转账设置"), DisplayName("03.每日每个机器人最多支付"), DefaultValue(1000.00),
Description(@"微信自动转账,每日最高兑换金额 (防作弊设置,每天每个微信最多支出多少钱,防止被撸羊毛)")
]
public double Exchange_Transmatic_SumPoint { get; set; }
/// <summary>
/// 微信自动转账红包标题
/// </summary>
[
Category("6、提现设置 - 微信自动转账设置"), DisplayName("04.红包标题"), DefaultValue(@"兑换成功:[兑换金额]"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[兑换金额]、[积分名称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangePacketTitle { get; set; }
/// <summary>
/// 微信自动转账成功提示语
/// </summary>
[
Category("6、提现设置 - 微信自动转账设置"), DisplayName("05.转账成功"), DefaultValue(@"一一一一兑 换 成 功一一一一
[][],!
Ps:"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[兑换金额]、[剩余积分]、[已兑换积分]、[积分名称]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string ExchangeTransmaticTip { get; set; }
/// <summary>
/// 未设置支付密码使用商户付款
/// </summary>
[
Category("6、提现设置 - 微信自动转账设置"), DisplayName("06.未设置支付密码使用商户付款"), DefaultValue(SwitchType.),
Description(@"开启:未设置支付密码使用商户付款")
]
public SwitchType IsEmptyPasswordUseCommercialPaySwitchType { get; set; }
/// <summary>
/// 微信支付不成功使用商户付款
/// </summary>
[
Category("6、提现设置 - 微信自动转账设置"), DisplayName("07.微信支付不成功使用商户付款"), DefaultValue(SwitchType.),
Description(@"开启:微信支付失败使用商户付款")
]
public SwitchType IsPaymentFailedUseCommercialPaySwitchType { get; set; }
#endregion
#region
/// <summary>
/// 结算抢红包开关
/// </summary>
[
Category("7、抢红包设置"), DisplayName("01.结算抢红包开关"), DefaultValue(SwitchType.),
Description(@"开启时,结算一个订单可以获取一个抢红包的机会")
]
public SwitchType Extra_Award_Switch { get; set; }
/// <summary>
/// 结算抢红包指令
/// </summary>
[
Category("7、抢红包设置"), DisplayName("02.结算抢红包指令"), DefaultValue(@"^(抢红包)$"),
Description(@"订单结算后抢红包指令"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string Extra_Award_CMD { get; set; }
[Browsable(false)]
private double _Extra_Award_Min_Point { get; set; }
/// <summary>
/// 抢红包最低金额
/// </summary>
[
Category("7、抢红包设置"), DisplayName("03.抢红包最低金额"), DefaultValue(1.00),
Description(@"抢红包最低金额")
]
public double Extra_Award_Min_Point
{
get { return _Extra_Award_Min_Point; }
set
{
if (value <= 0)
_Extra_Award_Min_Point = 0.01;
else
_Extra_Award_Min_Point = value;
}
}
[Browsable(false)]
public double _Extra_Award_Max_Point { get; set; }
/// <summary>
/// 抢红包最高金额
/// </summary>
[
Category("7、抢红包设置"), DisplayName("04.抢红包最高金额"), DefaultValue(1.50),
Description(@"抢红包最搞金额")
]
public double Extra_Award_Max_Point
{
get { return _Extra_Award_Max_Point; }
set
{
if (value <= 0)
_Extra_Award_Max_Point = 0.01;
else
_Extra_Award_Max_Point = value;
}
}
/// <summary>
/// 抢红包成功
/// </summary>
[
Category("7、抢红包设置"), DisplayName("05.抢红包成功"), DefaultValue(@"一一一一抢 红 包 成 功一一一一
[][]
[][]"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[剩余积分]、[剩余积分]、[冻结总金额]、[未收货总金额]、[红包金额]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string Extra_AwardSuccessTip { get; set; }
/// <summary>
/// 抢红包失败
/// </summary>
[
Category("7、抢红包设置"), DisplayName("05.抢红包失败"), DefaultValue(@"一一一一抢 红 包 失 败一一一一
"),
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]、[剩余积分]、[冻结总金额]、[未收货总金额]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string Extra_AwardErrorTip { get; set; }
#endregion
public PointManageConfig()
{
#region
this.Restrict_Switch = SwitchType.;
this._CheckinRestrictMonth = 1;
this.Checkin_Period = 24;
this.Checkin_Switch = SwitchType.;
this.Checkin_CMD = @"^(签到|打卡)$";
this.Checkin_Reward_Min = 0.01;
this.Checkin_Reward_Max = 0.05;
this.CheckinSuccessTip = @"一一一一签 到 成 功一一一一
[] []
[]
[]
[] []
[]";
this.CheckinRepeatTip = @"一一一一签 到 失 败一一一一
,!";
this.CheckinRestrictTip = @"一一一一签 到 限 制一一一一
,!";
#endregion
#region
this.AlipaySwitch = SwitchType.;
this.Alipay_ChatType = "微信";
this.Alipay_Bind_CMD = @"^绑定\s+(?<账号>[^\s]+?)\s+(?<名称>[^\s]+?)$";
this.CheckUserPoint_CMD = @"^(余额|积分|账单|信息|明细|个人信息)$";
this.CheckPointSuccessTip = @"一一一一查 询 成 功一一一一
[] []
[] []
[]/[]
[]/[]
[]/[]
[]/[]
[]/[]
[]/[]
[]/[]
[]
2-5,!";
this.AlipayBindSuccessTip = @"一一一一绑 定 成 功一一一一
[]
[]
,,!";
#endregion
#region
this.notice_robotname = "请选择(钉钉/微信群机器人API名称";
this.Integer_Exchange_Switch = SwitchType.;
this.Audit_Exchange_Frequency_SwitchType = SwitchType.;
this.Audit_Exchange_Frequency_Baseline = 2;
this.Unsettled_Forbid_Exchange = SwitchType.;
this.Exchange_CMD = @"^(兑换|提现|转账)$";
this._exchange_Num = 1L;
this._exchange_Min_Point = 1.00;
this._exchange_Max_Point = 100.00;
this.Exchange_PayType = PointPayType.;
this.Exchange_Transmatic_Maxpoint = 40.00;
this.Exchange_Transmatic_SumPoint = 1000.00;
this.IsEmptyPasswordUseCommercialPaySwitchType = SwitchType.;
this.IsPaymentFailedUseCommercialPaySwitchType = SwitchType.;
this.ExchangeFrequencyLimitDingdingTip = @"审核通知
[]
[]
[]
[]
[]
[]";
this.IdentityIdUnBindExchangeTip = @"一一一一提 现 失 败一一一一
123456789123456789
,,!";
this.IdentityIdBindUSuccessTip = @"一一一一绑 定 失 败一一一一
[]
[]
,";
this.IdentityIdBindSuccessTip = @"一一一一绑 定 成 功一一一一
[]
[]
,,!";
this.IdentityId_Bind_CMD = @"^身份证\s+(?<身份证号>.+?)\s+(?<姓名>.+?)$";
this.IdentityIdCheckAppKey = string.Empty;
this.IdentityIdMatchAppKey = string.Empty;
this.IdentityIdSwitch = SwitchType.;
this.Ban_Exchange_Tip = @"一一一一提 现 限 制一一一一
[]
";
this.Unsettled_Forbid_Exchange_Tip = @"一一一一提 现 失 败一一一一
";
this.NotReceiving_Forbid_Exchange_Tip = @"一一一一提 现 失 败一一一一
";
this.ExchangeUnBindAlipayTip = @"一一一一兑 换 失 败一一一一
!
18100000000
,";
this.ExchangeSuccessTip = @"一一一一申 请 成 功一一一一
[][]
[][]
24,!";
this.ExchangeSuccessDingdingTip = @"审核通知
[]
[]
[]
[]
[]
[]
[]";
this.ExchangeErrorTip = @"一一一一兑 换 失 败一一一一
[][],[][]!
[][]
[][]";
this.ExchangeReturnTip = @"一一一一兑 换 失 败一一一一
[][]退!
:[]";
this.ExchangeAdoptTip = @"一一一一兑 换 成 功一一一一
[][],!
Ps:,!";
this.ExchangeInsufficientNumTip = @"一一一一兑 换 失 败一一一一
[],,!";
this.ExchangeErrorGroupBan_SwitchType = SwitchType.;
this.ExchangeErrorGroupBanTip = @"一一一一兑 换 失 败一一一一
[][]
";
this.ExchangeUntreatedTip = @"一一一一兑 换 失 败一一一一
[][],!";
this.ExchangeTransmaticTip = @"一一一一兑 换 成 功一一一一
[][],!
Ps:";
this.ExchangeConfiscateTip = @"一一一一兑 换 失 败一一一一
[][]!
:[]";
this.ExchangePacketTitle = @"兑换成功:[兑换金额]";
this.ExchangeCommercialPayTip = @"一一一一等 待 领 取一一一一
[领取地址]
";
this.ExchangeCommercialEftTip = @"一一一一商 户 转 账 成 功一一一一
[兑换金额]
";
#endregion
#region
this.Extra_Award_Switch = SwitchType.;
this.Extra_Award_CMD = @"^(抢红包)$";
this._Extra_Award_Min_Point = 1;
this._Extra_Award_Max_Point = 1.5;
this.Extra_AwardSuccessTip = @"一一一一抢 红 包 成 功一一一一
[][]
[][]";
this.Extra_AwardErrorTip = @"一一一一抢 红 包 失 败一一一一
";
#endregion
}
}
}