<develop>:(Web 端)<无> 接口 API 更新

parent 525a4085
......@@ -80,7 +80,7 @@ namespace CoreCms.Net.Core.Config
Version = version,
Title = $"{apiName} 接口文档",
Description = $"{apiName} HTTP API " + version,
Contact = new OpenApiContact { Name = apiName, Email = "JianWeie@163.com", Url = new Uri("https://CoreCms.Net") },
Contact = new OpenApiContact { Name = apiName, Email = "ShopERP@163.com", Url = new Uri("https://ShopERP") },
});
s.OrderActionsBy(o => o.RelativePath);
});
......
......@@ -47,14 +47,6 @@ namespace CoreCms.Net.Web.Admin.Infrastructure
//使用 SignalR
builder.Services.AddSignalR();
// 引入Payment 依赖注入(支付宝支付/微信支付)
builder.Services.AddAlipay();
builder.Services.AddWeChatPay();
// 在 appsettings.json 中 配置选项
builder.Services.Configure<WeChatPayOptions>(builder.Configuration.GetSection("WeChatPay"));
builder.Services.Configure<AlipayOptions>(builder.Configuration.GetSection("Alipay"));
// 注入工厂 HTTP 客户端
builder.Services.AddHttpClient();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment