wcj 5 years ago
parent
commit
13bb22b67b
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/jfw/modules/subscribepay/src/util/msgremind.go

+ 8 - 0
src/jfw/modules/subscribepay/src/util/msgremind.go

@@ -55,6 +55,14 @@ func (m *msgRemind) Add(orderId, orderMoney, vipType, remindStatus int, orderCod
 	})
 }
 
+/*删除待提醒的订单
+ *@param orderId 订单id
+ */
+func (m *msgRemind) Delete(orderId int) {
+	log.Println("删除待提醒的订单", orderId)
+	m.unpaidOrders.Delete(orderId)
+}
+
 /*
  *订单支付成功以后,消息通知处理
  *@param orderId 订单id