Commit a2ca58ab authored by honghy's avatar honghy

调整Bulk客户端接收状态

parent 062b8816
......@@ -18,7 +18,7 @@ import java.util.List;
import java.util.Map;
/**
* SendChamp客户端
* Bulk客户端
*
* @author jayden
*/
......@@ -83,9 +83,9 @@ public class BulkSmsClient extends AbstractSmsClient {
@Override
public SmsLogDTO getReceiveStatus(SmsLogDTO smsLogDO) {
// 初始化短信日志DTO,并默认设置接收状态为未接收到
// 初始化短信日志DTO,并默认接收成功,因为没有提供对应的api获取状态
SmsLogDTO smsLogDTO = new SmsLogDTO();
smsLogDTO.setReceiveStatus(ReceiveStatusEnum.Receive_STATUS_20.getValue());
smsLogDTO.setReceiveStatus(ReceiveStatusEnum.Receive_STATUS_10.getValue());
return smsLogDTO;
}
......
......@@ -7,7 +7,7 @@ import cn.iocoder.yudao.framework.sms.core.enums.SmsFrameworkErrorCodeConstants;
import org.apache.commons.lang3.StringUtils;
/**
* SendChamp SmsCodeMapping 实现类
* Bulk SmsCodeMapping 实现类
*
* @author Jayden
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment