Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-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
赵啸非
device-new-platform
Commits
f96901cf
Commit
f96901cf
authored
Jul 20, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改鉴权
parent
8f4b54f4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
common-lib/src/main/java/com/mortals/xhx/feign/site/ISiteFeign.java
.../src/main/java/com/mortals/xhx/feign/site/ISiteFeign.java
+0
-1
device-manager/src/main/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
...in/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
+1
-1
device-manager/src/main/resources/bootstrap.yml
device-manager/src/main/resources/bootstrap.yml
+5
-1
No files found.
common-lib/src/main/java/com/mortals/xhx/feign/site/ISiteFeign.java
View file @
f96901cf
...
...
@@ -8,7 +8,6 @@ import com.mortals.xhx.feign.IFeign;
import
feign.hystrix.FallbackFactory
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.http.MediaType
;
import
org.springframework.stereotype.Component
;
import
org.springframework.web.bind.annotation.*
;
...
...
device-manager/src/main/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
View file @
f96901cf
...
...
@@ -43,7 +43,7 @@ public class SyncUserTaskImpl implements ITaskExcuteService {
userPdu
.
setSize
(-
1
);
Rest
<
RespData
<
List
<
UserPdu
>>>
list
=
userFeign
.
list
(
userPdu
);
log
.
debug
(
"syncUserResp:{}"
,
JSON
.
toJSONString
(
list
));
log
.
info
(
"syncUserResp:{}"
,
JSON
.
toJSONString
(
list
));
// return;
// UserPdu userPdu = new UserPdu();
...
...
device-manager/src/main/resources/bootstrap.yml
View file @
f96901cf
...
...
@@ -35,6 +35,9 @@ spring:
max-active
:
100
max-wait
:
1000
cloud
:
loadbalancer
:
ribbon
:
enabled
:
false
nacos
:
# Nacos 作为注册中心的配置项,对应 NacosDiscoveryProperties 配置类
discovery
:
...
...
@@ -75,7 +78,8 @@ upload:
path
:
@
profiles.filepath@
feign
:
hystrix
:
enabled
:
true
enabled
:
false
queue
:
type
:
@
profiles.queue.type@
# memory or kafka (Apache Kafka) or rabbitmq (RabbitMQ)
core
:
...
...
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