Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
ShopERP
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杜龙飞
ShopERP
Commits
5150220e
Commit
5150220e
authored
Jul 11, 2025
by
PC-20220610JUCQ\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
<develop>:(Web 端)<无> 接口 API 更新
parent
525a4085
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
9 deletions
+1
-9
CoreCms.Net.Core/Config/SwaggerSetup.cs
+1
-1
CoreCms.Net.Web.Admin/Infrastructure/ServicesContainerExtend.cs
+0
-8
No files found.
CoreCms.Net.Core/Config/SwaggerSetup.cs
View file @
5150220e
...
...
@@ -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
);
});
...
...
CoreCms.Net.Web.Admin/Infrastructure/ServicesContainerExtend.cs
View file @
5150220e
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment