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
a4d959a9
Commit
a4d959a9
authored
Nov 16, 2021
by
xinglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)删除依赖
parent
55d23f0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
pom.xml
amos-boot-biz-common/pom.xml
+0
-5
MessageAction.java
...ejoin/amos/boot/biz/common/rule/action/MessageAction.java
+0
-4
No files found.
amos-boot-biz-common/pom.xml
View file @
a4d959a9
...
...
@@ -16,11 +16,6 @@
<artifactId>
amos-feign-systemctl
</artifactId>
<version>
${amos.version}
</version>
</dependency>
<dependency>
<groupId>
com.yeejoin
</groupId>
<artifactId>
amos-component-rule
</artifactId>
<version>
${amos.version}
</version>
</dependency>
<dependency>
<groupId>
org.typroject
</groupId>
<artifactId>
tyboot-core-rdbms
</artifactId>
...
...
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/rule/action/MessageAction.java
View file @
a4d959a9
...
...
@@ -2,8 +2,6 @@ package com.yeejoin.amos.boot.biz.common.rule.action;//package com.yeejoin.amos.
import
com.alibaba.fastjson.JSON
;
import
com.yeejoin.amos.boot.biz.common.utils.RuleUtils
;
import
com.yeejoin.amos.component.rule.RuleActionBean
;
import
com.yeejoin.amos.component.rule.RuleMethod
;
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
import
com.yeejoin.amos.feign.systemctl.model.MessageModel
;
import
org.slf4j.Logger
;
...
...
@@ -17,12 +15,10 @@ import org.typroject.tyboot.core.foundation.utils.ValidationUtil;
* @Date: 2021/11/10 11:49
*/
@Component
@RuleActionBean
(
beanLabel
=
"消息发送"
)
public
class
MessageAction
{
public
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
MessageAction
.
class
);
@RuleMethod
(
methodLabel
=
"消息发送"
,
project
=
"消息"
)
public
void
sendMessage
(
Object
msgObj
,
String
title
,
String
content
)
{
MessageModel
messageModel
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
msgObj
),
MessageModel
.
class
);
messageModel
.
setTitle
(
title
);
...
...
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