update 优化 增加工作流短信发送案例

This commit is contained in:
疯狂的狮子Li
2026-01-28 15:35:57 +08:00
parent 04436c7393
commit d569655e53
2 changed files with 10 additions and 1 deletions

View File

@@ -30,6 +30,8 @@ public class RemoteSmsServiceImpl implements RemoteSmsService {
* @return SmsBlend 实例,代表指定供应商类型
*/
private SmsBlend getSmsBlend() {
// 自动获取一个短信服务商
// return SmsFactory.getSmsBlend();
// 可自定义厂商配置获取规则 例如根据租户获取 或 负载均衡多个厂商等
return SmsFactory.getSmsBlend("config1");
}