Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
easy-affair-show
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
赵啸非
easy-affair-show
Commits
5d87c544
Commit
5d87c544
authored
Sep 01, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户查询列表接口客户姓名,电话号码脱敏
parent
ce6e0c38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
eas-manager/pom.xml
eas-manager/pom.xml
+28
-1
eas-manager/src/main/java/com/mortals/xhx/module/customer/service/impl/CustomerServiceImpl.java
...xhx/module/customer/service/impl/CustomerServiceImpl.java
+3
-0
No files found.
eas-manager/pom.xml
View file @
5d87c544
...
...
@@ -33,6 +33,15 @@
<profiles.nacos.server-addr>
192.168.0.252:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
easy-affair-show
</profiles.nacos.namespace>
<profiles.redis.uri>
192.168.0.252
</profiles.redis.uri>
<profiles.redis.port>
6379
</profiles.redis.port>
<profiles.redis.username></profiles.redis.username>
<profiles.redis.password>
hotel@2020
</profiles.redis.password>
<profiles.redis.database>
9
</profiles.redis.database>
<profiles.datasource.uri>
<![CDATA[jdbc:mysql://192.168.0.98:3306/yi_zheng_xiu?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Hongkong]]>
</profiles.datasource.uri>
<profiles.datasource.username>
root
</profiles.datasource.username>
<profiles.datasource.password>
nacos@2020
</profiles.datasource.password>
<profiles.filepath>
/mortals/app/data/easy-affair-show
</profiles.filepath>
<profiles.log.level>
info
</profiles.log.level>
<profiles.log.path>
/mortals/app/logs
</profiles.log.path>
</properties>
...
...
@@ -49,6 +58,15 @@
<profiles.nacos.server-addr>
192.168.0.252:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
easy-affair-show-test
</profiles.nacos.namespace>
<profiles.redis.uri>
192.168.0.252
</profiles.redis.uri>
<profiles.redis.port>
6379
</profiles.redis.port>
<profiles.redis.username></profiles.redis.username>
<profiles.redis.password>
hotel@2020
</profiles.redis.password>
<profiles.redis.database>
9
</profiles.redis.database>
<profiles.datasource.uri>
<![CDATA[jdbc:mysql://192.168.0.98:3306/yi_zheng_xiu?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Hongkong]]>
</profiles.datasource.uri>
<profiles.datasource.username>
root
</profiles.datasource.username>
<profiles.datasource.password>
nacos@2020
</profiles.datasource.password>
<profiles.filepath>
/mortals/app/data/easy-affair-show
</profiles.filepath>
<profiles.log.level>
info
</profiles.log.level>
<profiles.log.path>
/mortals/app/logs
</profiles.log.path>
</properties>
...
...
@@ -57,7 +75,7 @@
<id>
product
</id>
<properties>
<profiles.active>
product
</profiles.active>
<profiles.server.port>
1
921
1
</profiles.server.port>
<profiles.server.port>
1
700
1
</profiles.server.port>
<profiles.queue.type>
rabbitmq
</profiles.queue.type>
<profiles.kafka.brokers>
127.0.0.1:9092
</profiles.kafka.brokers>
<profiles.rabbitmq.host>
127.0.0.1
</profiles.rabbitmq.host>
...
...
@@ -65,6 +83,15 @@
<profiles.nacos.server-addr>
127.0.0.1:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
stp
</profiles.nacos.namespace>
<profiles.redis.uri>
127.0.0.1
</profiles.redis.uri>
<profiles.redis.port>
6379
</profiles.redis.port>
<profiles.redis.username></profiles.redis.username>
<profiles.redis.password>
hotel@2020
</profiles.redis.password>
<profiles.redis.database>
6
</profiles.redis.database>
<profiles.datasource.uri>
<![CDATA[jdbc:mysql://localhost:3307/yi_zheng_xiu?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Hongkong]]>
</profiles.datasource.uri>
<profiles.datasource.username>
root
</profiles.datasource.username>
<profiles.datasource.password>
SCxhx@654321
</profiles.datasource.password>
<profiles.filepath>
/mortals/app/data
</profiles.filepath>
<profiles.log.level>
info
</profiles.log.level>
<profiles.log.path>
/mortals/app/logs
</profiles.log.path>
</properties>
...
...
eas-manager/src/main/java/com/mortals/xhx/module/customer/service/impl/CustomerServiceImpl.java
View file @
5d87c544
package
com.mortals.xhx.module.customer.service.impl
;
import
cn.hutool.core.util.DesensitizedUtil
;
import
cn.hutool.core.util.PhoneUtil
;
import
cn.hutool.core.util.RandomUtil
;
import
com.alibaba.fastjson.JSONObject
;
...
...
@@ -111,6 +112,8 @@ public class CustomerServiceImpl extends AbstractCRUDServiceImpl<CustomerDao, Cu
if
(
CollectionUtils
.
isNotEmpty
(
list
)){
list
.
stream
().
forEach
(
item
->{
item
.
setCreateTimeStr
(
DateUtils
.
getDateTime
(
item
.
getCreateTime
(),
DateUtils
.
P_yyyy_MM_dd_HH_mm_ss
));
item
.
setContactTelphone
(
DesensitizedUtil
.
mobilePhone
(
item
.
getContactTelphone
()));
item
.
setCustName
(
DesensitizedUtil
.
chineseName
(
item
.
getCustName
()));
});
}
return
result
;
...
...
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