mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	@@ -38,6 +38,7 @@ public class AliyunSmsTemplate implements SmsTemplate {
 | 
			
		||||
        this.client = new Client(config);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public SmsResult send(String phones, String templateId, Map<String, String> param) {
 | 
			
		||||
        if (StringUtils.isBlank(phones)) {
 | 
			
		||||
            throw new SmsException("手机号不能为空");
 | 
			
		||||
 
 | 
			
		||||
@@ -43,6 +43,7 @@ public class TencentSmsTemplate implements SmsTemplate {
 | 
			
		||||
        this.client = new SmsClient(credential, "", clientProfile);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public SmsResult send(String phones, String templateId, Map<String, String> param) {
 | 
			
		||||
        if (StringUtils.isBlank(phones)) {
 | 
			
		||||
            throw new SmsException("手机号不能为空");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user