Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
tanpu-community
Commits
26264f8b
Commit
26264f8b
authored
Aug 09, 2021
by
刘基明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步专栏
parent
a63e0d31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
ThemeManager.java
...c/main/java/com/tanpu/community/manager/ThemeManager.java
+12
-8
No files found.
community-service/src/main/java/com/tanpu/community/manager/ThemeManager.java
View file @
26264f8b
...
@@ -55,14 +55,7 @@ import org.springframework.stereotype.Service;
...
@@ -55,14 +55,7 @@ import org.springframework.stereotype.Service;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.*
;
import
java.util.Arrays
;
import
java.util.Collections
;
import
java.util.Comparator
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
static
com
.
tanpu
.
community
.
api
.
constants
.
RedisKeyConstant
.*;
import
static
com
.
tanpu
.
community
.
api
.
constants
.
RedisKeyConstant
.*;
...
@@ -242,6 +235,17 @@ public class ThemeManager {
...
@@ -242,6 +235,17 @@ public class ThemeManager {
}
}
private
void
convertImg
(
ImagesDTO
img
,
String
userId
){
HashMap
map
=
new
HashMap
<>();
// todo 图片类型
map
.
put
(
"filetype"
,
"jpg"
);
map
.
put
(
"refid"
,
img
.
getRelId
());
map
.
put
(
"mode"
,
0
);
map
.
put
(
"userId"
,
userId
);
}
/**
/**
* 参数校验
* 参数校验
*
*
...
...
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