This commit is contained in:
“wanyongkang”
2020-12-28 14:55:48 +08:00
parent c2ec7392cb
commit 40a40b6d36
305 changed files with 20629 additions and 20629 deletions

View File

@@ -1,44 +1,44 @@
/*
<xml>
<AppId>第三方平台appid</AppId>
<CreateTime>1413192760</CreateTime>
<InfoType>unauthorized</InfoType>
<AuthorizerAppid>公众号appid</AuthorizerAppid>
</xml>
*/
using Hncore.Infrastructure.Common;
using System;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Hncore.Wx.Open
{
public class MessageUnauthorized : MessageOpenBase
{
public MessageUnauthorized(XDocument doc) : base(doc)
{
this.AuthorizerAppid = doc.Root.Element("AuthorizerAppid").Value;
}
public override RequestInfoType InfoType
{
get { return RequestInfoType.unauthorized; }
}
public string AuthorizerAppid { get; set; }
public override async Task<bool> Handler()
{
if (!string.IsNullOrEmpty(this.AuthorizerAppid))
{
try
{
}
catch(Exception ex)
{
LogHelper.Error("MessageUnauthorized",ex.Message);
}
}
return false;
}
}
}
/*
<xml>
<AppId>第三方平台appid</AppId>
<CreateTime>1413192760</CreateTime>
<InfoType>unauthorized</InfoType>
<AuthorizerAppid>公众号appid</AuthorizerAppid>
</xml>
*/
using Hncore.Infrastructure.Common;
using System;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Hncore.Wx.Open
{
public class MessageUnauthorized : MessageOpenBase
{
public MessageUnauthorized(XDocument doc) : base(doc)
{
this.AuthorizerAppid = doc.Root.Element("AuthorizerAppid").Value;
}
public override RequestInfoType InfoType
{
get { return RequestInfoType.unauthorized; }
}
public string AuthorizerAppid { get; set; }
public override async Task<bool> Handler()
{
if (!string.IsNullOrEmpty(this.AuthorizerAppid))
{
try
{
}
catch(Exception ex)
{
LogHelper.Error("MessageUnauthorized",ex.Message);
}
}
return false;
}
}
}