sms
This commit is contained in:
parent
7f683548ff
commit
3e61923c7b
|
|
@ -65,7 +65,7 @@ public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, OrdersDO> imple
|
||||||
ordersMapper.insert(orders);
|
ordersMapper.insert(orders);
|
||||||
OrderApiCreateParam param = new OrderApiCreateParam();
|
OrderApiCreateParam param = new OrderApiCreateParam();
|
||||||
BeanUtils.copyProperties(orders, param);
|
BeanUtils.copyProperties(orders, param);
|
||||||
apiDealStrategyService.createOrder(param);
|
// apiDealStrategyService.createOrder(param);
|
||||||
|
|
||||||
// 创建后需要发送短信
|
// 创建后需要发送短信
|
||||||
OrdersDO ordersDO = ordersMapper.selectById(orders.getId());
|
OrdersDO ordersDO = ordersMapper.selectById(orders.getId());
|
||||||
|
|
|
||||||
|
|
@ -135,8 +135,10 @@ public class SmsTaskServiceImpl implements SmsTaskService {
|
||||||
}
|
}
|
||||||
// logisticsInformation
|
// logisticsInformation
|
||||||
Map<String, Object> param = new HashMap<>();
|
Map<String, Object> param = new HashMap<>();
|
||||||
|
param.put("name", ordersDO.getIdCardName());
|
||||||
param.put("phone", ordersDO.getPlanMobile());
|
param.put("phone", ordersDO.getPlanMobile());
|
||||||
param.put("logisticsInfo", ordersDO.getTrackingCompany() + ordersDO.getTrackingNumber());
|
param.put("expresscorp", ordersDO.getTrackingCompany()==null?"--":ordersDO.getTrackingCompany());
|
||||||
|
param.put("expressno", ordersDO.getTrackingNumber()==null?"--":ordersDO.getTrackingNumber());
|
||||||
param.put("imgUrl", getImageUrl(ordersDO));
|
param.put("imgUrl", getImageUrl(ordersDO));
|
||||||
smsSendApi.sendSingleSmsWithChannel(
|
smsSendApi.sendSingleSmsWithChannel(
|
||||||
sentToPhone,
|
sentToPhone,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue