|
@@ -1873,18 +1873,21 @@ public class OrderController : BaseController
|
|
|
//sms
|
|
|
try
|
|
|
{
|
|
|
- await _pushDomainService.PushAsync(new MessageDto
|
|
|
+ if (order.SmsSended)
|
|
|
{
|
|
|
- PushBusiness = EPushBusiness.OrderAccept,
|
|
|
- ExternalId = order.Id,
|
|
|
- OrderId = order.Id,
|
|
|
- PushPlatform = EPushPlatform.Sms,
|
|
|
- Content =
|
|
|
- $"温馨提示:您的来电已受理(流水号:{order.No};提取码:{order.Password},可通过网站(http://hotline.12345lm.cn)进行查询,谢谢。【宜宾12345热线平台】)",
|
|
|
- Remark = order.Title,
|
|
|
- Name = order.FromName,
|
|
|
- TelNumber = order.Contact
|
|
|
- }, HttpContext.RequestAborted);
|
|
|
+ await _pushDomainService.PushAsync(new MessageDto
|
|
|
+ {
|
|
|
+ PushBusiness = EPushBusiness.OrderAccept,
|
|
|
+ ExternalId = order.Id,
|
|
|
+ OrderId = order.Id,
|
|
|
+ PushPlatform = EPushPlatform.Sms,
|
|
|
+ Content =
|
|
|
+ $"温馨提示:您的来电已受理(流水号:{order.No};提取码:{order.Password},可通过网站(http://hotline.12345lm.cn)进行查询,谢谢。【宜宾12345热线平台】)",
|
|
|
+ Remark = order.Title,
|
|
|
+ Name = order.FromName,
|
|
|
+ TelNumber = order.Contact
|
|
|
+ }, HttpContext.RequestAborted);
|
|
|
+ }
|
|
|
}
|
|
|
catch (Exception e)
|
|
|
{
|