forked from ZhongFuCheng3y/austin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ea71af
commit 7399f78
Showing
8 changed files
with
593 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
austin-common/src/main/java/com/java3y/austin/common/dto/account/FeiShuRobotAccount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.java3y.austin.common.dto.account; | ||
|
||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
/** | ||
* 飞书 机器人 账号信息 | ||
* | ||
* @author 3y | ||
*/ | ||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class FeiShuRobotAccount { | ||
/** | ||
* 自定义群机器人中的 webhook | ||
*/ | ||
private String webhook; | ||
|
||
} |
50 changes: 50 additions & 0 deletions
50
austin-common/src/main/java/com/java3y/austin/common/dto/model/FeiShuRobotContentModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package com.java3y.austin.common.dto.model; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
/** | ||
* @author 3y | ||
* 飞书群 机器人 | ||
* <p> | ||
* https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN#756b882f | ||
*/ | ||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class FeiShuRobotContentModel extends ContentModel { | ||
|
||
/** | ||
* 发送类型 | ||
*/ | ||
private String sendType; | ||
|
||
/** | ||
* 发送内容 | ||
*/ | ||
private String content; | ||
|
||
/** | ||
* 发送标题 | ||
*/ | ||
private String title; | ||
|
||
/** | ||
* 媒体Id | ||
*/ | ||
private String mediaId; | ||
|
||
|
||
/** | ||
* 富文本内容:[[{"tag":"text","text":"项目有更新: "},{"tag":"a","text":"请查看","href":"http://www.example.com/"},{"tag":"at","user_id":"ou_18eac8********17ad4f02e8bbbb"}]] | ||
*/ | ||
private String postContent; | ||
|
||
/** | ||
* 图片路径 | ||
*/ | ||
private String imagePath; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.