Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
195955d8
Commit
195955d8
authored
Jul 30, 2021
by
李传峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/master' into 3.x
parents
c6fed074
73b1ac8f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
SendType.java
...c/main/java/com/pcloud/common/core/constant/SendType.java
+6
-1
WordUtils.java
...src/main/java/com/pcloud/common/utils/word/WordUtils.java
+1
-1
No files found.
pcloud-common-core/src/main/java/com/pcloud/common/core/constant/SendType.java
View file @
195955d8
...
...
@@ -39,7 +39,12 @@ public enum SendType {
/**
* 通过公众号ID发送
*/
SEND_BY_WECHAT
(
"SEND_BY_WECHAT"
);
SEND_BY_WECHAT
(
"SEND_BY_WECHAT"
),
/**
* 通过OpenId 和 OfficialId 发送
*/
SEND_BY_OPENID_OFFICIAL
(
"SEND_BY_OPENID_OFFICIAL"
);
/**
* 值
...
...
pcloud-common/src/main/java/com/pcloud/common/utils/word/WordUtils.java
View file @
195955d8
...
...
@@ -131,7 +131,7 @@ public class WordUtils {
width
=
Math
.
round
(
width
*
rate
);
height
=
Math
.
round
(
height
*
rate
);
document
=
new
Document
(
new
Rectangle
(
width
,
height
));
Integer
A4Width
=
210
;
Integer
A4Width
=
595
;
if
(!
A4Width
.
equals
(
width
))
{
document
.
setMargins
(
2
,
2
,
2
,
2
);
}
...
...
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