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
830a29cc
...
830a29cc0b8a081a0bc587171094d82f96c0cd57
authored
2022-07-25 15:36:36 +0800
by
xianghan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.海南vis历史数据昵称进行base64加密处理
1 parent
74d95364
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
15 deletions
member-service-impl/src/main/java/com/topdraw/business/module/user/app/service/impl/UserAppServiceImpl.java
member-service-impl/src/main/java/com/topdraw/business/module/user/app/service/impl/UserAppServiceImpl.java
View file @
830a29c
...
...
@@ -23,6 +23,7 @@ import com.topdraw.business.module.vis.hainan.qq.domain.VisUserQq;
import
com.topdraw.business.module.vis.hainan.weibo.domain.VisUserWeibo
;
import
com.topdraw.business.module.vis.hainan.weixin.domain.VisUserWeixin
;
import
com.topdraw.common.ResultInfo
;
import
com.topdraw.util.Base64Util
;
import
com.topdraw.util.TimestampUtil
;
import
com.topdraw.utils.StringUtils
;
import
com.topdraw.utils.ValidationUtil
;
...
...
@@ -214,10 +215,10 @@ public class UserAppServiceImpl implements UserAppService {
Long
id
=
visUserDTO
.
getId
();
userAppIdManual
.
setId
(
id
);
userAppIdManual
.
setUsername
(
StringUtils
.
isBlank
(
username
)
?
resources
.
getUsername
()
:
username
);
// vis 手机号
String
cellphone
=
visUserDTO
.
getCellphone
();
userAppIdManual
.
setCellphone
(
StringUtils
.
isBlank
(
cellphone
)
?
resources
.
getUsername
()
:
cellphone
);
userAppIdManual
.
setUsername
(
StringUtils
.
isBlank
(
cellphone
)
?
null
:
cellphone
);
userAppIdManual
.
setCellphone
(
StringUtils
.
isBlank
(
cellphone
)
?
null
:
cellphone
);
String
nickname
=
visUserDTO
.
getNickname
();
userAppIdManual
.
setNickname
(
StringUtils
.
isBlank
(
nickname
)
?
resources
.
getNickname
()
:
nickname
);
...
...
@@ -298,11 +299,9 @@ public class UserAppServiceImpl implements UserAppService {
Long
id
=
visUserDTO
.
getId
();
userAppIdManual
.
setId
(
id
);
String
username
=
visUserDTO
.
getUsername
();
userAppIdManual
.
setUsername
(
StringUtils
.
isBlank
(
username
)
?
resources
.
getUsername
()
:
username
);
String
cellphone
=
visUserDTO
.
getCellphone
();
userAppIdManual
.
setCellphone
(
StringUtils
.
isBlank
(
cellphone
)
?
resources
.
getUsername
()
:
cellphone
);
userAppIdManual
.
setUsername
(
StringUtils
.
isBlank
(
cellphone
)
?
null
:
cellphone
);
userAppIdManual
.
setCellphone
(
StringUtils
.
isBlank
(
cellphone
)
?
null
:
cellphone
);
String
nickname
=
visUserDTO
.
getNickname
();
userAppIdManual
.
setNickname
(
StringUtils
.
isBlank
(
nickname
)
?
resources
.
getNickname
()
:
nickname
);
...
...
@@ -385,11 +384,9 @@ public class UserAppServiceImpl implements UserAppService {
Long
id
=
visUserDTO
.
getId
();
userAppIdManual
.
setId
(
id
);
String
username
=
visUserDTO
.
getUsername
();
userAppIdManual
.
setUsername
(
StringUtils
.
isBlank
(
username
)
?
resources
.
getUsername
()
:
username
);
String
cellphone
=
visUserDTO
.
getCellphone
();
userAppIdManual
.
setCellphone
(
StringUtils
.
isBlank
(
cellphone
)
?
resources
.
getUsername
()
:
cellphone
);
userAppIdManual
.
setUsername
(
StringUtils
.
isBlank
(
cellphone
)
?
null
:
cellphone
);
userAppIdManual
.
setCellphone
(
StringUtils
.
isBlank
(
cellphone
)
?
null
:
cellphone
);
String
nickname
=
visUserDTO
.
getNickname
();
userAppIdManual
.
setNickname
(
StringUtils
.
isBlank
(
nickname
)
?
resources
.
getNickname
()
:
nickname
);
...
...
@@ -472,11 +469,9 @@ public class UserAppServiceImpl implements UserAppService {
Long
id
=
visUserDTO
.
getId
();
userAppIdManual
.
setId
(
id
);
String
username
=
visUserDTO
.
getUsername
();
userAppIdManual
.
setUsername
(
StringUtils
.
isBlank
(
username
)
?
resources
.
getUsername
()
:
username
);
String
cellphone
=
visUserDTO
.
getCellphone
();
userAppIdManual
.
setCellphone
(
StringUtils
.
isBlank
(
cellphone
)
?
resources
.
getUsername
()
:
cellphone
);
userAppIdManual
.
setUsername
(
StringUtils
.
isBlank
(
cellphone
)
?
null
:
cellphone
);
userAppIdManual
.
setCellphone
(
StringUtils
.
isBlank
(
cellphone
)
?
null
:
cellphone
);
String
nickname
=
visUserDTO
.
getNickname
();
userAppIdManual
.
setNickname
(
StringUtils
.
isBlank
(
nickname
)
?
resources
.
getNickname
()
:
nickname
);
...
...
Please
register
or
sign in
to post a comment