This commit is contained in:
苏尹岚
2020-12-09 16:56:23 +08:00
parent be59c52814
commit 17938ffaa8

View File

@@ -50,6 +50,9 @@ func pushToSingle(content, title string, storeID int) {
func NotifyNewOrder(order *model.GoodsOrder) {
globals.SugarLogger.Debugf("NotifyNewOrder push begin orderID :[%v]", order.VendorOrderID)
if order == nil || len(order.Skus) == 0 {
return
}
sb := new(strings.Builder)
sb.WriteString("老板,")
sb.WriteString(order.ConsigneeName)