Commit 9bed14120193211fe134b3567e4110fa7207822e

Authored by YunaiV
1 parent 65a86e8d

简单调整下腾讯云短信的排版

yudao-framework/yudao-spring-boot-starter-biz-sms/src/main/java/cn/iocoder/yudao/framework/sms/core/client/impl/tencent/TencentSmsClient.java
... ... @@ -41,15 +41,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.TIME_ZONE_DE
41 41 */
42 42 public class TencentSmsClient extends AbstractSmsClient {
43 43  
44   - private SmsClient client;
45   -
46 44 /**
47 45 * 调用成功 code
48 46 */
49 47 public static final String API_SUCCESS_CODE = "Ok";
50 48  
51 49 /**
52   - * REGION, 使用南京
  50 + * REGION,使用南京
53 51 */
54 52 private static final String ENDPOINT = "ap-nanjing";
55 53  
... ... @@ -60,6 +58,8 @@ public class TencentSmsClient extends AbstractSmsClient {
60 58 */
61 59 private static final long INTERNATIONAL = 0L;
62 60  
  61 + private SmsClient client;
  62 +
63 63 public TencentSmsClient(SmsChannelProperties properties) {
64 64 super(properties, new TencentSmsCodeMapping());
65 65 Assert.notEmpty(properties.getApiSecret(), "apiSecret 不能为空");
... ...
yudao-framework/yudao-spring-boot-starter-biz-sms/src/main/java/cn/iocoder/yudao/framework/sms/core/property/TencentSmsChannelProperties.java
... ... @@ -11,7 +11,6 @@ import lombok.Data;
11 11 * @author shiwp
12 12 */
13 13 @Data
14   -
15 14 public class TencentSmsChannelProperties extends SmsChannelProperties {
16 15  
17 16 /**
... ... @@ -38,4 +37,4 @@ public class TencentSmsChannelProperties extends SmsChannelProperties {
38 37 result.setSdkAppId(keys[1]).setApiKey(keys[0]);
39 38 return result;
40 39 }
41   -}
42 40 \ No newline at end of file
  41 +}
... ...