Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-webapp-plug
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-webapp-plug
Commits
9323e1bd
Commit
9323e1bd
authored
Sep 22, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmyk模式校验
parent
b985d5b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
+0
-1
UploadImgController.java
...java/com/gic/plug/web/controller/UploadImgController.java
+0
-1
No files found.
src/main/java/com/gic/plug/web/controller/UploadImgController.java
View file @
9323e1bd
...
...
@@ -58,7 +58,6 @@ public class UploadImgController {
return
RestResponse
.
failure
(
ErrorCode
.
NOT_SUPPORT
.
getCode
(),
"图片不支持上传CMYK色彩模式,请上传RGB色彩模式的图片"
);
}
UploadResult
uploadResult
=
QqCloudPicUtils
.
uploadLocalPicStream
(
"pic01"
,
""
,
mf
.
getBytes
());
UploadResult
uploadResult
=
QqCloudPicUtils
.
uploadLocalPicStream
(
"pic01"
,
""
,
mf
.
getBytes
());
logger
.
info
(
"上传图片结果:"
+
JSON
.
toJSONString
(
uploadResult
));
Map
<
String
,
Object
>
pic
=
new
HashMap
<>(
8
);
pic
.
put
(
"fileId"
,
uploadResult
.
getFileId
());
...
...
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