Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agent-platform
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
赵啸非
agent-platform
Commits
1f9a105d
Commit
1f9a105d
authored
Apr 29, 2025
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复测试bug
parent
766c14a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
agent-manager/src/main/java/com/mortals/xhx/busiz/web/H5LoginController.java
...ain/java/com/mortals/xhx/busiz/web/H5LoginController.java
+1
-1
No files found.
agent-manager/src/main/java/com/mortals/xhx/busiz/web/H5LoginController.java
View file @
1f9a105d
...
@@ -201,7 +201,6 @@ public class H5LoginController extends BaseCRUDJsonBodyMappingController<UserSer
...
@@ -201,7 +201,6 @@ public class H5LoginController extends BaseCRUDJsonBodyMappingController<UserSer
}
else
{
}
else
{
userEntity
.
setPhone
(
req
.
getPhone
());
userEntity
.
setPhone
(
req
.
getPhone
());
userEntity
.
setMobile
(
req
.
getPhone
());
userEntity
.
setMobile
(
req
.
getPhone
());
userService
.
update
(
userEntity
);
}
}
if
(!
ObjectUtils
.
isEmpty
(
userEntity
)
if
(!
ObjectUtils
.
isEmpty
(
userEntity
)
...
@@ -213,6 +212,7 @@ public class H5LoginController extends BaseCRUDJsonBodyMappingController<UserSer
...
@@ -213,6 +212,7 @@ public class H5LoginController extends BaseCRUDJsonBodyMappingController<UserSer
//todo 当前用户存在 但是未绑定公司 可绑定
//todo 当前用户存在 但是未绑定公司 可绑定
CompanyEntity
companyEntity
=
companyService
.
getCompanyByH5
(
req
);
CompanyEntity
companyEntity
=
companyService
.
getCompanyByH5
(
req
);
userEntity
.
setCompanyId
(
companyEntity
.
getId
());
userEntity
.
setCompanyId
(
companyEntity
.
getId
());
userService
.
update
(
userEntity
);
}
}
//当前用户绑定公司 用户名可与phone绑定
//当前用户绑定公司 用户名可与phone绑定
JSONObject
data
=
new
JSONObject
();
JSONObject
data
=
new
JSONObject
();
...
...
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