发送短信入库时,补充遗漏的字段msg_content

pull/4/head
kosmosr 3 years ago
parent 984dd9cb4f
commit 7a638cd0b0

@ -71,6 +71,7 @@ public class TencentSmsScript implements SmsScript {
.phone(Long.valueOf(phone)) .phone(Long.valueOf(phone))
.supplierId(tencentSmsParam.getSupplierId()) .supplierId(tencentSmsParam.getSupplierId())
.supplierName(tencentSmsParam.getSupplierName()) .supplierName(tencentSmsParam.getSupplierName())
.msgContent(smsParam.getContent())
.seriesId(sendStatus.getSerialNo()) .seriesId(sendStatus.getSerialNo())
.chargingNum(Math.toIntExact(sendStatus.getFee())) .chargingNum(Math.toIntExact(sendStatus.getFee()))
.status(SmsStatus.SEND_SUCCESS.getCode()) .status(SmsStatus.SEND_SUCCESS.getCode())

@ -45,6 +45,11 @@ public class SmsRecord {
*/ */
private String supplierName; private String supplierName;
/**
*
*/
private String msgContent;
/** /**
* Id * Id
*/ */

Loading…
Cancel
Save