This commit is contained in:
suyl
2021-05-21 16:41:53 +08:00
parent cb6a2ef8f7
commit 51e559a032
4 changed files with 15 additions and 0 deletions

View File

@@ -218,3 +218,11 @@ func NotifyNewCourierOrder(bill *model.Waybill) (err error) {
}, nil)
return err
}
//京西订单配送员取货后,给用户发短信提醒
func NotifyJxOrder(order *model.GoodsOrder, bill *model.Waybill) (err error) {
err = SendSMSMsg([]string{order.ConsigneeMobile}, globals.SMSSignName, globals.SMSJxOrderDelivering, map[string]interface{}{
"phone": bill.CourierMobile,
}, order)
return err
}