Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
向汉
/
uc-engine
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
a4021e6a
...
a4021e6a04ba261c2809b2127a0290c0dc5b5660
authored
2022-02-16 16:09:00 +0800
by
鲁二龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
//处理接口调用 中文不显示问题
1 parent
3b9a946b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
member-service-impl/src/main/java/com/topdraw/business/process/service/impl/UserOperationServiceImpl.java
member-service-impl/src/main/java/com/topdraw/business/process/service/impl/UserOperationServiceImpl.java
View file @
a4021e6
...
...
@@ -62,6 +62,7 @@ import org.springframework.transaction.annotation.Propagation;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.CollectionUtils
;
import
java.nio.charset.StandardCharsets
;
import
java.time.LocalDateTime
;
import
java.util.*
;
import
java.util.concurrent.TimeUnit
;
...
...
@@ -1147,7 +1148,9 @@ public class UserOperationServiceImpl implements UserOperationService {
@Override
public
boolean
addCollection
(
String
content
)
{
try
{
log
.
info
(
"receive UserCollection add message, content {}"
,
content
);
//处理接口调用 中文不显示问题
content
=
new
String
(
Base64
.
getDecoder
().
decode
(
content
.
getBytes
(
StandardCharsets
.
UTF_8
)));
log
.
info
(
"receive UserCollection add message, content {}"
,
content
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
content
);
String
platformAccount
=
jsonObject
.
getString
(
"platformAccount"
);
String
data
=
jsonObject
.
getString
(
"data"
);
...
...
Please
register
or
sign in
to post a comment