This commit is contained in:
邹宗楠
2023-04-06 18:32:20 +08:00
parent f2855fa9ec
commit f2571c61a5

View File

@@ -46,7 +46,7 @@ func NotifyNewOrder(order *model.GoodsOrder) {
msg.StoreTitle = storeDetail.Name
msg.Context = "老板,你有新的订单了!"
context, _ := json.Marshal(msg)
body := fmt.Sprintf(msg.Context+"(%s)", model.VendorChineseNames[order.VendorID]+"#"+msg.OrderSqs)
body := fmt.Sprintf(msg.Context+"(%s)", model.VendorChineseNames[order.VendorID]+"#"+msg.OrderSqs+"订单Id:"+order.VendorOrderID)
pushMsgByUniApp(storeDetail.ID, storeDetail.Name, cid, string(context), body, SoundsFileNewOrder)
}