mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-06 09:40:51 +08:00
完成excel模块、wechat模块
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using StartupModules;
|
||||
using Yi.Framework.Core.Configuration;
|
||||
using Yi.Framework.WeChatPay.Extensions;
|
||||
using Yi.Framework.WeChatPay.Options;
|
||||
|
||||
namespace Yi.Framework.WeChatPay
|
||||
{
|
||||
public class YiFrameworkWeChatPayModule : IStartupModule
|
||||
{
|
||||
public void Configure(IApplicationBuilder app, ConfigureMiddlewareContext context)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void ConfigureServices(IServiceCollection services, ConfigureServicesContext context)
|
||||
{
|
||||
services.AddWeChatPayServer(option =>
|
||||
{
|
||||
option = Appsettings.app<PayOptions>(nameof(PayOptions));
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user