Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-enterprise-base
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
base_platform_enterprise
gic-enterprise-base
Commits
333d12a1
Commit
333d12a1
authored
Sep 23, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购bug
parent
24f58e2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
QrcodeDownload.java
.../src/main/java/com/gic/download/utils/QrcodeDownload.java
+3
-3
No files found.
gic-enterprise-download/src/main/java/com/gic/download/utils/QrcodeDownload.java
View file @
333d12a1
...
...
@@ -117,7 +117,7 @@ public abstract class QrcodeDownload {
Integer
qrcodeId
=
response
.
getResult
();
if
(
qrcodeQO
.
getH5
()
==
1
)
{
byte
[]
h5Qrcode
=
createH5Qrcode
(
content
.
getContent
(),
content
.
getTitle
(),
userDetail
);
ZipEntry
e
=
new
ZipEntry
(
content
.
getTitle
Tmp
()
+
File
.
separator
+
content
.
getTitle
()
+
".jpg"
);
ZipEntry
e
=
new
ZipEntry
(
content
.
getTitle
()
+
File
.
separator
+
content
.
getTitle
()
+
".jpg"
);
zipOutputStream
.
putNextEntry
(
e
);
zipOutputStream
.
write
(
h5Qrcode
);
zipOutputStream
.
flush
();
...
...
@@ -127,7 +127,7 @@ public abstract class QrcodeDownload {
for
(
String
s
:
fwhArr
)
{
byte
[]
fwhQrcode
=
createFwhQrcode
(
qrcodeId
,
dto
.
getType
(),
s
,
dto
.
getEndTime
(),
content
.
getTitle
(),
userDetail
);
if
(
fwhQrcode
!=
null
){
ZipEntry
e
=
new
ZipEntry
(
content
.
getTitle
Tmp
()
+
File
.
separator
+
s
+
File
.
separator
+
content
.
getTitle
()
+
".jpg"
);
ZipEntry
e
=
new
ZipEntry
(
content
.
getTitle
()
+
File
.
separator
+
s
+
File
.
separator
+
content
.
getTitle
()
+
".jpg"
);
zipOutputStream
.
putNextEntry
(
e
);
zipOutputStream
.
write
(
fwhQrcode
);
zipOutputStream
.
flush
();
...
...
@@ -144,7 +144,7 @@ public abstract class QrcodeDownload {
for
(
String
s
:
appletArr
)
{
byte
[]
appletQrcode
=
createAppletQrcode
(
s
,
appletPath
);
if
(
appletQrcode
!=
null
){
ZipEntry
e
=
new
ZipEntry
(
content
.
getTitle
Tmp
()
+
File
.
separator
+
s
+
File
.
separator
+
content
.
getTitle
()
+
".jpg"
);
ZipEntry
e
=
new
ZipEntry
(
content
.
getTitle
()
+
File
.
separator
+
s
+
File
.
separator
+
content
.
getTitle
()
+
".jpg"
);
zipOutputStream
.
putNextEntry
(
e
);
zipOutputStream
.
write
(
appletQrcode
);
zipOutputStream
.
flush
();
...
...
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