feat: 添加微信应用模块,支持微信支付及微信小程序对接(功能产品已上线验证)
This commit is contained in:
32
Yi.Furion.Net6/Yi.Framework.Module/WeChat/WeChatOptions.cs
Normal file
32
Yi.Furion.Net6/Yi.Framework.Module/WeChat/WeChatOptions.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Module.WeChat
|
||||
{
|
||||
public class WeChatOptions
|
||||
{
|
||||
public string AppId { get; set; }
|
||||
public string AppSecret { get; set; }
|
||||
|
||||
public string PaySecretKey { get; set; }
|
||||
|
||||
public string Mchid { get; set; }
|
||||
|
||||
public string NotifyUrl { get; set; }
|
||||
|
||||
public string MerchantSerialNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公众号
|
||||
/// </summary>
|
||||
public OfficialAccountsOptions OfficialAccounts { get; set; }
|
||||
}
|
||||
|
||||
public class OfficialAccountsOptions {
|
||||
public string AppId { get; set; }
|
||||
public string TemplateId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user