增加 server酱通知
This commit is contained in:
@@ -5,6 +5,7 @@ import time
|
||||
from config.TicketEnmu import ticket
|
||||
from config.emailConf import sendEmail
|
||||
from config.pushbearConf import sendPushBear
|
||||
from config.serverchanConf import sendServerChan
|
||||
from myException.ticketIsExitsException import ticketIsExitsException
|
||||
from myException.ticketNumOutException import ticketNumOutException
|
||||
|
||||
@@ -45,6 +46,8 @@ class queryOrderWaitTime:
|
||||
data.get("orderId", "")))
|
||||
sendPushBear(ticket.WAIT_ORDER_SUCCESS.format(
|
||||
data.get("orderId", "")))
|
||||
sendServerChan(ticket.WAIT_ORDER_SUCCESS.format(
|
||||
data.get("orderId", "")))
|
||||
raise ticketIsExitsException(ticket.WAIT_ORDER_SUCCESS.format(
|
||||
data.get("orderId")))
|
||||
elif data.get("msg", False):
|
||||
|
||||
Reference in New Issue
Block a user