手机短信服务

短信服务提供发送短信的接口。

发送短信接口

通过Java接口,可以在服务器端调用短信服务,发送手机短信

 //注入短信服务
 @Autowirte
 ISmsService smsService;

//调用服务发送短信
//mobile:手机号
//content: 要发送的内容
smsService.send(mobile,content);

results matching ""

    No results matching ""