cn.chendahai.dingding.service.DingdingService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingding-spring-boot-starter Show documentation
Show all versions of dingding-spring-boot-starter Show documentation
dingding project for Spring Boot starter
package cn.chendahai.dingding.service;
import cn.chendahai.dingding.utils.DingDingSendMsg;
public class DingdingService {
private String token;
// private String suffix;
public DingdingService(String token) {
this.token = token;
// this.suffix = suffix;
}
public String send(String msg){
DingDingSendMsg.sendText(msg,token,null);
return "send success";
}
}