old_flsystem/应用/Main/Config.cs

79 lines
1.8 KiB
C#
Raw Permalink Normal View History

2022-09-20 03:10:29 +00:00
using Api.Framework.SDK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Main
{
[Config(Name = "插件-Web淘宝返利-配置")]
public class Config
{
/// <summary>
/// 发送类型
/// </summary>
public SendTemplateType SendType { get; set; } = SendTemplateType.;
/// <summary>
/// 自定义内容
/// </summary>
public string CustomContent { get; set; }
/// <summary>
/// 卡片
/// </summary>
public string CardText { get; set; } = @"<appmsg appid='' sdkver='0'>
<title>[]</title>
<des>[]</des>
<action>view</action>
<type>5</type>
<showtype>0</showtype>
<content/>
<url>[]</url>
<dataurl/>
<lowurl/>
<lowdataurl/>
<recorditem><![CDATA[]]></recorditem>
<thumburl>[]</thumburl>
<messageaction/>
<extinfo/>
<sourceusername/>
<sourcedisplayname/>
<commenturl/>
<appattach>
<totallen>0</totallen>
<attachid/>
<emoticonmd5/>
<fileext/>
<aeskey/>
</appattach>
</appmsg>";
/// <summary>
/// 图文
/// </summary>
public string ImageText { get; set; } = @"[图片=[商品图片]][分段][延迟=1]----下单消息----
[标题]
[]
[]
[]
[]
[文案描述]
:
[下单地址]";
/// <summary>
/// 接受好友申请
/// </summary>
public bool AcceptFriend { get; set; } = false;
/// <summary>
/// 增加新好友提示语
/// </summary>
public string NewFriendMess { get; set; } = string.Empty;
}
}