Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
dff5b95e
Commit
dff5b95e
authored
Apr 21, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9c988c1d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
ToPdfHelper.cs
Edu.Common/Plugin/ToPdfHelper.cs
+2
-2
EducationContractController.cs
Edu.WebApi/Controllers/Course/EducationContractController.cs
+0
-2
No files found.
Edu.Common/Plugin/ToPdfHelper.cs
View file @
dff5b95e
...
...
@@ -141,8 +141,8 @@ namespace Edu.Common.Plugin
stringBuilder
.
Append
(
" --margin-left 5mm "
);
stringBuilder
.
Append
(
" --margin-right 5mm "
);
}
stringBuilder
.
Append
(
" --footer-left \""
+
DateTime
.
Now
.
ToString
(
"yyyy/MM/dd"
)
+
"\" "
);
//设置居中显示页脚
stringBuilder
.
Append
(
" --footer-right \"[page]/[topage]\" "
);
//设置居中显示页脚
//
stringBuilder.Append(" --footer-left \"" + DateTime.Now.ToString("yyyy/MM/dd") + "\" "); //设置居中显示页脚
//
stringBuilder.Append(" --footer-right \"[page]/[topage]\" "); //设置居中显示页脚
stringBuilder
.
Append
(
" --footer-font-size 7 "
);
stringBuilder
.
Append
(
" --footer-spacing 5 "
);
if
(
noMargin
==
1
)
...
...
Edu.WebApi/Controllers/Course/EducationContractController.cs
View file @
dff5b95e
using
System
;
using
System.Linq
;
using
Edu.Common.API
;
using
Edu.Common.Enum.Course
;
using
Edu.Common.Plugin
;
...
...
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