+ AcceptOrRefuseFailedGetOrder
+ CallPMCourier + ConfirmReceiveGoods
This commit is contained in:
@@ -17,8 +17,8 @@ const (
|
||||
|
||||
ServerMsgPing = "ping"
|
||||
|
||||
ServerMsgNewOrder = "newOrder"
|
||||
ServerMsgUserApplyCancel = "userApplyCancel"
|
||||
ServerMsgNewOrder = "newOrder"
|
||||
ServerMsgKeyOrderStatusChanged = "keyOrderStatusChanged" // 重要订单状态变化
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -165,11 +165,11 @@ func OnNewOrder(order *model.GoodsOrder) {
|
||||
})
|
||||
}
|
||||
|
||||
func OnUserApplyCancel(order *model.GoodsOrder) {
|
||||
globals.SugarLogger.Debugf("msghub OnUserApplyCancel, order:%s", utils.Format4Output(order, false))
|
||||
func OnKeyOrderStatusChanged(order *model.GoodsOrder) {
|
||||
globals.SugarLogger.Debugf("msghub OnKeyOrderStatusChanged, order:%s", utils.Format4Output(order, false))
|
||||
utils.CallFuncAsync(func() {
|
||||
msgChan <- &ServerMsg{
|
||||
Type: ServerMsgUserApplyCancel,
|
||||
Type: ServerMsgKeyOrderStatusChanged,
|
||||
StoreID: jxutils.GetSaleStoreIDFromOrder(order),
|
||||
MsgData: 1,
|
||||
// MsgData: []*model.GoodsOrderExt{
|
||||
|
||||
Reference in New Issue
Block a user