This commit is contained in:
邹宗楠
2024-10-18 14:58:51 +08:00
parent 6455cc02aa
commit 0ec80eb412
4 changed files with 16 additions and 21 deletions

View File

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