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
f33f9195
Commit
f33f9195
authored
Oct 20, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改企业审核
parent
67d747bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
CompanyController.java
...mos/boot/module/ugp/biz/controller/CompanyController.java
+9
-8
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/CompanyController.java
View file @
f33f9195
...
@@ -197,17 +197,18 @@ public class CompanyController extends BaseController {
...
@@ -197,17 +197,18 @@ public class CompanyController extends BaseController {
CompanyModel
companyModelFeignClient
=
Privilege
.
companyClient
.
create
(
companyModel
).
getResult
();
CompanyModel
companyModelFeignClient
=
Privilege
.
companyClient
.
create
(
companyModel
).
getResult
();
//创建平台用户
//创建平台用户
String
admin
=
company
.
getAdmin
();
String
adminName
=
company
.
getAdminName
();
String
adminPhone
=
company
.
getAdminPhone
();
String
adminLoginName
=
company
.
getAdminLoginName
();
agencyUserModel
.
setRealName
(
admin
);
String
adminPhone
=
company
.
getAdminTel
();
agencyUserModel
.
setMobile
(
company
.
getContactPhone
());
String
adminPassword
=
company
.
getAdminLoginPwd
();
agencyUserModel
.
setRealName
(
adminName
);
agencyUserModel
.
setAgencyCode
(
"ugp"
);
agencyUserModel
.
setAgencyCode
(
"ugp"
);
agencyUserModel
.
setLockStatus
(
"UNLOCK"
);
agencyUserModel
.
setLockStatus
(
"UNLOCK"
);
agencyUserModel
.
setMobile
(
adminPhone
);
agencyUserModel
.
setMobile
(
adminPhone
);
agencyUserModel
.
setCreateTime
(
new
Date
());
agencyUserModel
.
setCreateTime
(
new
Date
());
agencyUserModel
.
setUserName
(
admin
);
agencyUserModel
.
setUserName
(
admin
LoginName
);
agencyUserModel
.
setPassword
(
DesUtil
.
encode
(
adminP
hone
,
secretKey
));
agencyUserModel
.
setPassword
(
DesUtil
.
encode
(
adminP
assword
,
secretKey
));
agencyUserModel
.
setRePassword
(
DesUtil
.
encode
(
adminP
hone
,
secretKey
));
agencyUserModel
.
setRePassword
(
DesUtil
.
encode
(
adminP
assword
,
secretKey
));
Privilege
.
agencyUserClient
.
create
(
agencyUserModel
);
Privilege
.
agencyUserClient
.
create
(
agencyUserModel
);
//企业动态表单存储
//企业动态表单存储
...
@@ -218,7 +219,7 @@ public class CompanyController extends BaseController {
...
@@ -218,7 +219,7 @@ public class CompanyController extends BaseController {
//企业管理员人员 动态表单存储
//企业管理员人员 动态表单存储
jsonObject
=
null
;
jsonObject
=
null
;
jsonObject
.
put
(
"name"
,
admin
);
jsonObject
.
put
(
"name"
,
admin
Name
);
jsonObject
.
put
(
"phone"
,
adminPhone
);
jsonObject
.
put
(
"phone"
,
adminPhone
);
jsonObject
.
put
(
"amosOrgId"
,
agencyUserModel
.
getSequenceNbr
());
jsonObject
.
put
(
"amosOrgId"
,
agencyUserModel
.
getSequenceNbr
());
jsonObject
.
put
(
"amosOrgCode"
,
agencyUserModel
.
getUserId
());
jsonObject
.
put
(
"amosOrgCode"
,
agencyUserModel
.
getUserId
());
...
...
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