集成钉钉
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package com.rj.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* 申请评估 - 钉钉群机器人 Webhook 配置。
|
||||
*/
|
||||
@Data
|
||||
@ConfigurationProperties(prefix = "lb.assessment-apply.dingtalk")
|
||||
public class LbAssessmentDingTalkProperties {
|
||||
|
||||
/**
|
||||
* 是否启用钉钉发送。
|
||||
*/
|
||||
private boolean enabled = true;
|
||||
|
||||
/**
|
||||
* 自定义机器人 Webhook 中的 access_token。
|
||||
*/
|
||||
private String accessToken = "";
|
||||
|
||||
/**
|
||||
* 加签密钥(SEC 开头);未配置则不加签。
|
||||
*/
|
||||
private String secret = "";
|
||||
}
|
||||
Reference in New Issue
Block a user