Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
a87647f1
Commit
a87647f1
authored
Feb 19, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.报检推送自测修改
parent
b3669623
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
application.properties
...t-module-jg-biz/src/main/resources/application.properties
+3
-2
JyjcInspectionApplicationController.java
...c/biz/controller/JyjcInspectionApplicationController.java
+1
-1
InspectionApplicationPushEventListener.java
...vent/listener/InspectionApplicationPushEventListener.java
+1
-1
EventPublisher.java
.../boot/module/jyjc/biz/event/publisher/EventPublisher.java
+3
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/application.properties
View file @
a87647f1
...
@@ -3,6 +3,7 @@ server.servlet.context-path=/jg
...
@@ -3,6 +3,7 @@ server.servlet.context-path=/jg
server.port
=
11007
server.port
=
11007
spring.profiles.active
=
dev
spring.profiles.active
=
dev
spring.feign.client.config.default.clockSkew
=
0m
spring.jackson.time-zone
=
GMT+8
spring.jackson.time-zone
=
GMT+8
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
logging.config
=
classpath:logback-${spring.profiles.active}.xml
logging.config
=
classpath:logback-${spring.profiles.active}.xml
...
@@ -138,8 +139,8 @@ spring.security.user.password=a1234560
...
@@ -138,8 +139,8 @@ spring.security.user.password=a1234560
spring.security.user.roles
=
SBA_ADMIN
spring.security.user.roles
=
SBA_ADMIN
## \u540E\u53F0\u6267\u884C\u673A\u5668\u4EBA\u8D26\u53F7\u914D\u7F6E
## \u540E\u53F0\u6267\u884C\u673A\u5668\u4EBA\u8D26\u53F7\u914D\u7F6E
amos.system.user.user-name
=
robot_admin
amos.system.user.user-name
=
jyjg04
amos.system.user.password
=
a123456
7
amos.system.user.password
=
a123456
0
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.product
=
AMOS_STUDIO_WEB
amos.system.user.product
=
AMOS_STUDIO_WEB
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcInspectionApplicationController.java
View file @
a87647f1
...
@@ -291,7 +291,7 @@ public class JyjcInspectionApplicationController extends BaseController {
...
@@ -291,7 +291,7 @@ public class JyjcInspectionApplicationController extends BaseController {
return
ResponseHelper
.
buildResponse
(
jyjcInspectionApplicationServiceImpl
.
listByCategory
(
page
,
equipClassify
));
return
ResponseHelper
.
buildResponse
(
jyjcInspectionApplicationServiceImpl
.
listByCategory
(
page
,
equipClassify
));
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"报检信息推送测试"
,
notes
=
"报检信息推送测试"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"报检信息推送测试"
,
notes
=
"报检信息推送测试"
)
@GetMapping
(
value
=
"/test-push"
)
@GetMapping
(
value
=
"/test-push"
)
public
void
pushTest
(
public
void
pushTest
(
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/event/listener/InspectionApplicationPushEventListener.java
View file @
a87647f1
...
@@ -97,7 +97,7 @@ public class InspectionApplicationPushEventListener implements ApplicationListen
...
@@ -97,7 +97,7 @@ public class InspectionApplicationPushEventListener implements ApplicationListen
/**
/**
* 报检推送主题, 第一位为接收单位标识
* 报检推送主题, 第一位为接收单位标识
*/
*/
private
String
INSPECTION_APPLICATION_PUSH_TOPIC
=
"%s_INSPECTION_APPLICATION_TOPIC"
;
private
final
String
INSPECTION_APPLICATION_PUSH_TOPIC
=
"%s_INSPECTION_APPLICATION_TOPIC"
;
@Override
@Override
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/event/publisher/EventPublisher.java
View file @
a87647f1
...
@@ -5,6 +5,9 @@ import org.springframework.context.ApplicationEventPublisher;
...
@@ -5,6 +5,9 @@ import org.springframework.context.ApplicationEventPublisher;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
/**
* @author Administrator
*/
@Component
@Component
public
class
EventPublisher
{
public
class
EventPublisher
{
private
ApplicationEventPublisher
publisher
;
private
ApplicationEventPublisher
publisher
;
...
...
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