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
0ebc9d0d
Commit
0ebc9d0d
authored
Aug 20, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'master'
分享有礼补数据 See merge request
!118
parents
d18b58c0
e7c1a1a0
Show 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 @
0ebc9d0d
...
@@ -220,6 +220,12 @@
...
@@ -220,6 +220,12 @@
<artifactId>
haoban-task-manage-api
</artifactId>
<artifactId>
haoban-task-manage-api
</artifactId>
<version>
${haoban-task-manage-api}
</version>
<version>
${haoban-task-manage-api}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.gic
</groupId>
<artifactId>
sharing-core-api
</artifactId>
<version>
${sharing-core-api}
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/test/TestController.java
View file @
0ebc9d0d
...
@@ -14,6 +14,8 @@ import com.gic.haoban.manage.web.controller.WebBaseController;
...
@@ -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.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.qo.TestQo
;
import
com.gic.haoban.manage.web.qo.TestQo
;
import
com.gic.haoban.manage.web.vo.TestVo
;
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.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -35,6 +37,9 @@ public class TestController extends WebBaseController {
...
@@ -35,6 +37,9 @@ public class TestController extends WebBaseController {
@Autowired
@Autowired
private
TestApiService
testApiService
;
private
TestApiService
testApiService
;
@Autowired
private
MqApiService
mqApiService
;
//
//
// @RequestMapping("/testList")
// @RequestMapping("/testList")
// @ResponseBody
// @ResponseBody
...
@@ -89,4 +94,19 @@ public class TestController extends WebBaseController {
...
@@ -89,4 +94,19 @@ public class TestController extends WebBaseController {
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
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 @
0ebc9d0d
...
@@ -50,4 +50,8 @@
...
@@ -50,4 +50,8 @@
<dubbo:reference
interface=
"com.gic.haoban.manage.api.service.HandoverOperationApiService"
<dubbo:reference
interface=
"com.gic.haoban.manage.api.service.HandoverOperationApiService"
id=
"handoverOperationApiService"
/>
id=
"handoverOperationApiService"
/>
<dubbo:reference
interface=
"com.gic.sharing.core.service.api.service.MqApiService"
id=
"mqApiService"
/>
</beans>
</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