Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GeoFlyApi
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GeoFly
GeoFlyApi
Commits
a1d77cdf
Commit
a1d77cdf
authored
Mar 14, 2026
by
gdj
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改无人机mqtt,去除外网地址。
parent
2e2f26b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sample/src/main/java/com/dji/sample/manage/service/impl/UserServiceImpl.java
+2
-2
No files found.
sample/src/main/java/com/dji/sample/manage/service/impl/UserServiceImpl.java
View file @
a1d77cdf
...
@@ -517,7 +517,7 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, UserEntity> implem
...
@@ -517,7 +517,7 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, UserEntity> implem
UserDTO
userDTO
=
entityConvertToDTO
(
userEntity
);
UserDTO
userDTO
=
entityConvertToDTO
(
userEntity
);
// 无人机登录 获取外网地址
// 无人机登录 获取外网地址
userDTO
.
setMqttAddr
(
MqttPropertyConfiguration
.
get
Net
MqttAddress
());
userDTO
.
setMqttAddr
(
MqttPropertyConfiguration
.
get
Basic
MqttAddress
());
userDTO
.
setAccessToken
(
token
);
userDTO
.
setAccessToken
(
token
);
userDTO
.
setWorkspaceId
(
workspaceOpt
.
get
().
getWorkspaceId
());
userDTO
.
setWorkspaceId
(
workspaceOpt
.
get
().
getWorkspaceId
());
userDTO
.
setRoleType
(
roleType
);
userDTO
.
setRoleType
(
roleType
);
...
@@ -1026,7 +1026,7 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, UserEntity> implem
...
@@ -1026,7 +1026,7 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, UserEntity> implem
.
roleType
(
entity
.
getRoleType
())
.
roleType
(
entity
.
getRoleType
())
.
mqttUsername
(
entity
.
getMqttUsername
())
.
mqttUsername
(
entity
.
getMqttUsername
())
.
mqttPassword
(
entity
.
getMqttPassword
())
.
mqttPassword
(
entity
.
getMqttPassword
())
.
mqttAddr
(
MqttPropertyConfiguration
.
get
Net
MqttAddress
())
.
mqttAddr
(
MqttPropertyConfiguration
.
get
Basic
MqttAddress
())
// 判断密码是否过期
// 判断密码是否过期
.
passwordExpired
(
isPasswordExpired
(
entity
))
.
passwordExpired
(
isPasswordExpired
(
entity
))
.
build
();
.
build
();
...
...
德钧
@guandj
mentioned in commit
d7411452
Mar 16, 2026
mentioned in commit
d7411452
mentioned in commit d741145203b37e09de280b57285b0cff2c79d632
Toggle commit list
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