Parcourir la source

sms:移除 sendCode、sendMsg 字段

YunaiV il y a 1 an
Parent
commit
7506a1b012

+ 0 - 6
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/log/SmsLogExcelVO.java

@@ -63,12 +63,6 @@ public class SmsLogExcelVO {
     @ExcelProperty("发送时间")
     private LocalDateTime sendTime;
 
-    @ExcelProperty("发送结果的编码")
-    private Integer sendCode;
-
-    @ExcelProperty("发送结果的提示")
-    private String sendMsg;
-
     @ExcelProperty("短信 API 发送结果的编码")
     private String apiSendCode;
 

+ 0 - 6
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/log/SmsLogRespVO.java

@@ -52,12 +52,6 @@ public class SmsLogRespVO {
     @Schema(description = "发送时间")
     private LocalDateTime sendTime;
 
-    @Schema(description = "发送结果的编码", example = "0")
-    private Integer sendCode;
-
-    @Schema(description = "发送结果的提示", example = "成功")
-    private String sendMsg;
-
     @Schema(description = "短信 API 发送结果的编码", example = "SUCCESS")
     private String apiSendCode;
 

+ 0 - 14
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/sms/SmsLogDO.java

@@ -114,20 +114,6 @@ public class SmsLogDO extends BaseDO {
      * 发送时间
      */
     private LocalDateTime sendTime;
-    // TODO 芋艿:短信
-//    /**
-//     * 发送结果的编码
-//     *
-//     * 枚举 {@link SmsFrameworkErrorCodeConstants}
-//     */
-//    private Integer sendCode;
-//    /**
-//     * 发送结果的提示
-//     *
-//     * 一般情况下,使用 {@link SmsFrameworkErrorCodeConstants}
-//     * 异常情况下,通过格式化 Exception 的提示存储
-//     */
-//    private String sendMsg;
     /**
      * 短信 API 发送结果的编码
      *