Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
f23c1260
Commit
f23c1260
authored
Aug 29, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品原始图片设置为主图,不过滤原始图片
parent
3f579804
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/ItemServiceImpl.java
...src/main/java/com/wwdz/ch/admin/impl/ItemServiceImpl.java
+0
-1
ch-core/src/main/java/com/wwdz/ch/core/storage/QiniuStorage.java
.../src/main/java/com/wwdz/ch/core/storage/QiniuStorage.java
+0
-1
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/ItemServiceImpl.java
View file @
f23c1260
...
...
@@ -228,7 +228,6 @@ public class ItemServiceImpl implements ItemService {
try
{
CoinVo
coinVo
=
new
CoinVo
();
EntityMapper
.
copyAttribute
(
item
,
coinVo
);
coinVo
.
setImages
(
StringUtil
.
merge
(
item
.
getImages
(),
item
.
getTopImage
()));
String
extra
=
item
.
getExtra
();
if
(
StringUtils
.
hasLength
(
extra
))
{
Map
<
String
,
Object
>
map
=
JsonUtils
.
toMap
(
extra
);
...
...
ch-core/src/main/java/com/wwdz/ch/core/storage/QiniuStorage.java
View file @
f23c1260
...
...
@@ -148,7 +148,6 @@ public class QiniuStorage implements Storage {
keyName
=
keyName
+
"_"
+
image
.
getWidth
()
+
"x"
+
image
.
getHeight
()
+
BASE64_IMG_SUFFIX
;
store
(
imageByte
,
keyName
);
String
url
=
generateUrl
(
keyName
);
System
.
out
.
println
(
"url = "
+
url
);
return
keyName
;
}
...
...
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