Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
b1eae7c5
Commit
b1eae7c5
authored
May 10, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业管理员变更用户名和密码增加默认用户和密码
parent
9e63a2b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
TzBaseEnterpriseInfoServiceImpl.java
...tzs/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+5
-5
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
b1eae7c5
...
...
@@ -100,10 +100,10 @@ public class TzBaseEnterpriseInfoServiceImpl
RegUnitInfoMapper
regUnitInfoMapper
;
@Value
(
"${tzs.admin.name:tzs_admin}"
)
private
String
ctiUser
Name
;
private
String
tzsAdmin
Name
;
@Value
(
"${
cti.user.pwd
}"
)
private
String
ctiUser
Pwd
;
@Value
(
"${
tzs.admin.pwd:a1234567
}"
)
private
String
tzsAdmin
Pwd
;
@Value
(
"${redis.cache.failure.time}"
)
private
Long
redisRegionTimeSecond
;
...
...
@@ -500,9 +500,9 @@ public class TzBaseEnterpriseInfoServiceImpl
//机器人用户登录
private
void
loginCtiUser
()
{
String
passwd
=
DesUtil
.
encode
(
ctiUser
Pwd
,
"qaz"
);
String
passwd
=
DesUtil
.
encode
(
tzsAdmin
Pwd
,
"qaz"
);
IdPasswordAuthModel
loninData
=
new
IdPasswordAuthModel
();
loninData
.
setLoginId
(
ctiUser
Name
);
loninData
.
setLoginId
(
tzsAdmin
Name
);
loninData
.
setPassword
(
passwd
);
FeignClientResult
loginResult
=
Privilege
.
authClient
.
idpassword
(
loninData
);
if
(
loginResult
.
getStatus
()
==
200
)
{
...
...
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