Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
e7c1a1a0
Commit
e7c1a1a0
authored
Aug 20, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享有礼补数据
parent
ae830bfc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
pom.xml
haoban-manage3-operation-web/pom.xml
+6
-0
TestController.java
...gic/haoban/manage/web/controller/test/TestController.java
+20
-0
dubbo-haoban-manage3-operation-web.xml
...ain/webapp/WEB-INF/dubbo-haoban-manage3-operation-web.xml
+4
-0
No files found.
haoban-manage3-operation-web/pom.xml
View file @
e7c1a1a0
...
...
@@ -220,6 +220,12 @@
<artifactId>
haoban-task-manage-api
</artifactId>
<version>
${haoban-task-manage-api}
</version>
</dependency>
<dependency>
<groupId>
com.gic
</groupId>
<artifactId>
sharing-core-api
</artifactId>
<version>
${sharing-core-api}
</version>
</dependency>
</dependencies>
<build>
...
...
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/test/TestController.java
View file @
e7c1a1a0
...
...
@@ -14,6 +14,8 @@ import com.gic.haoban.manage.web.controller.WebBaseController;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.qo.TestQo
;
import
com.gic.haoban.manage.web.vo.TestVo
;
import
com.gic.sharing.core.service.api.service.MqApiService
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
...
@@ -35,6 +37,9 @@ public class TestController extends WebBaseController {
@Autowired
private
TestApiService
testApiService
;
@Autowired
private
MqApiService
mqApiService
;
//
// @RequestMapping("/testList")
// @ResponseBody
...
...
@@ -89,4 +94,19 @@ public class TestController extends WebBaseController {
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
/**
* 创建定时器
*
* @return
*/
@RequestMapping
(
"/sharing-import"
)
@ResponseBody
public
HaobanResponse
sharingImport
(
String
key
)
{
if
(
StringUtils
.
isBlank
(
key
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_0
);
}
mqApiService
.
run
(
key
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
}
haoban-manage3-operation-web/src/main/webapp/WEB-INF/dubbo-haoban-manage3-operation-web.xml
View file @
e7c1a1a0
...
...
@@ -50,4 +50,8 @@
<dubbo:reference
interface=
"com.gic.haoban.manage.api.service.HandoverOperationApiService"
id=
"handoverOperationApiService"
/>
<dubbo:reference
interface=
"com.gic.sharing.core.service.api.service.MqApiService"
id=
"mqApiService"
/>
</beans>
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