feat: 添加微信应用模块,支持微信支付及微信小程序对接(功能产品已上线验证)
This commit is contained in:
34
Yi.Furion.Net6/Yi.Framework.Module/WeChat/WeChatException.cs
Normal file
34
Yi.Furion.Net6/Yi.Framework.Module/WeChat/WeChatException.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Module.WeChat
|
||||
{
|
||||
public class WeChatException : Exception
|
||||
{
|
||||
public override string Message
|
||||
{
|
||||
get
|
||||
{
|
||||
// 加上前缀
|
||||
return "微信Api异常: " + base.Message;
|
||||
}
|
||||
}
|
||||
|
||||
public WeChatException()
|
||||
{
|
||||
}
|
||||
|
||||
public WeChatException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public WeChatException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user