Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-supervisor-mini
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8961ba86
authored
Mar 09, 2026
by
范富荣
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增督导任务模块基础类
1 parent
111cae9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
src/main/java/cn/com/glsx/dj/supervisor/config/DubboConfig.java
src/main/java/cn/com/glsx/dj/supervisor/controller/SupervisorTaskInfoController.java
src/main/java/cn/com/glsx/dj/supervisor/config/DubboConfig.java
View file @
8961ba8
package
cn
.
com
.
glsx
.
dj
.
supervisor
.
config
;
package
cn
.
com
.
glsx
.
dj
.
supervisor
.
config
;
import
cn.com.glsx.dj.supervisor.remote.SupervisorTaskInfoRemote
;
import
org.oreframework.boot.autoconfigure.dubbo.reference.ReferenceBuilderFactory
;
import
org.oreframework.boot.autoconfigure.dubbo.reference.ReferenceBuilderFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
...
@@ -44,4 +45,10 @@ public class DubboConfig {
...
@@ -44,4 +45,10 @@ public class DubboConfig {
}
}
@Bean
public
SupervisorTaskInfoRemote
supervisorTaskInfoRemote
()
{
return
factory
.
builder
(
SupervisorTaskInfoRemote
.
class
).
check
(
false
).
timeout
(
30000
).
build
();
}
}
}
src/main/java/cn/com/glsx/dj/supervisor/controller/SupervisorTaskInfoController.java
0 → 100644
View file @
8961ba8
package
cn
.
com
.
glsx
.
dj
.
supervisor
.
controller
;
import
cn.com.glsx.dj.supervisor.remote.SupervisorTaskInfoRemote
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.ServiceMethodBean
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
@Slf4j
@ServiceMethodBean
(
version
=
"1.0.0"
,
needInSession
=
NeedInSessionType
.
NO
)
@Api
(
"督导任务接口"
)
public
class
SupervisorTaskInfoController
{
@Autowired
private
SupervisorTaskInfoRemote
supervisorTaskInfoRemote
;
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment