feat: 添加微信应用模块,支持微信支付及微信小程序对接(功能产品已上线验证)

This commit is contained in:
橙子
2023-09-03 11:22:19 +08:00
parent efee87e4c5
commit c2ca0b1f29
21 changed files with 1264 additions and 0 deletions

View 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; }
}
}