Hidistro.UI.Web/Admin/WeiXin/ReplyOnKey.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI.WebControls;
using ControlPanel.WeiBo;
using Hidistro.ControlPanel.Store;
using Hidistro.Core;
using Hidistro.Entities.Store;
using Hidistro.Entities.VShop;
using Hidistro.Entities.Weibo;
using Hidistro.UI.Common.Controls;
using Hidistro.UI.ControlPanel.Utility;
namespace Hidistro.UI.Web.Admin.WeiXin
{
[PrivilegeCheck(Privilege.ProductCategory)]
public class ReplyOnKey : AdminPage
{
protected Repeater rptList;
protected ReplyOnKey()
: base("m06", "wxp03")
{
}
private void BindArticleCategory()
{
List<Hidistro.Entities.VShop.ReplyInfo> list = ReplyHelper.GetAllReply().ToList<Hidistro.Entities.VShop.ReplyInfo>().FindAll(a => a.ReplyType < ReplyType.Wheel);
this.rptList.DataSource = list;
this.rptList.DataBind();
}
protected string GetReplyTypeName(object obj)
{
ReplyType en = (ReplyType)obj;
string str = string.Empty;
bool flag = false;
if (ReplyType.Subscribe == (en & ReplyType.Subscribe))
{
str = str + "[<span style='color:orange;'>关注时回复</span>]";
flag = true;
}
if (ReplyType.NoMatch == (en & ReplyType.NoMatch))
{
str = str + "[<span style='color:green;'>无匹配回复</span>]";
flag = true;
}
if (ReplyType.Keys == (en & ReplyType.Keys))
{
str = str + "[关键字回复]";
flag = true;
}
if (!flag)
{
str = en.ToShowText();
}
return str;
后面还有 145 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
