yangys
2024-05-18 040976de6f9934b99f30268a28e2ecf42260e217
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.qianwen.core.notify.provider.sms;
 
import com.qianwen.core.notify.Provider;
 
public enum SmsProvider implements Provider {
    aliyunSms("阿里云短信服务"),
    yunpianSms("云片短信服务");
    
    private final String name;
 
    SmsProvider(final String name) {
        this.name = name;
    }
 
    @Override // com.qianwen.core.notify.Provider
    public String getName() {
        return this.name;
    }
 
    @Override // com.qianwen.core.notify.Provider
    public String getId() {
        return name();
    }
}