Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
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
zry
performance
Commits
063afbf9
Commit
063afbf9
authored
Dec 12, 2023
by
wyc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考勤上报加载上月调整,logo和医院名称(appsettings.json)
parent
49b5b0c8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
61 deletions
+66
-61
performance/Performance.Api/Controllers/AppController.cs
+4
-1
performance/Performance.Services/CopyService.cs
+62
-60
No files found.
performance/Performance.Api/Controllers/AppController.cs
View file @
063afbf9
...
@@ -21,7 +21,9 @@ public AppController(ILogger<AppController> logger, IConfiguration configuration
...
@@ -21,7 +21,9 @@ public AppController(ILogger<AppController> logger, IConfiguration configuration
public
ActionResult
AppOptions
()
public
ActionResult
AppOptions
()
{
{
var
OpenOAuth
=
_configuration
.
GetValue
<
bool
>(
"AppOptions:OpenOAuth"
,
false
);
var
OpenOAuth
=
_configuration
.
GetValue
<
bool
>(
"AppOptions:OpenOAuth"
,
false
);
return
Ok
(
new
ApiResponse
(
ResponseType
.
OK
,
""
,
new
{
OpenOAuth
}));
var
siteTitle
=
_configuration
.
GetValue
(
"AppOptions:SiteTitle"
,
""
);
var
siteLogo
=
_configuration
.
GetValue
(
"AppOptions:SiteLogo"
,
""
);
return
Ok
(
new
ApiResponse
(
ResponseType
.
OK
,
""
,
new
{
OpenOAuth
,
siteTitle
,
siteLogo
}));
}
}
}
}
}
}
\ No newline at end of file
performance/Performance.Services/CopyService.cs
View file @
063afbf9
This diff is collapsed.
Click to expand it.
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