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