20 lines
389 B
C++
20 lines
389 B
C++
#include "PushMsg.h"
|
|
#include "Global.h"
|
|
|
|
void PushMsg::push(QString type,QString account, QMap<QString, QString> order)
|
|
{
|
|
if (g_config->notice_status() && account != "")
|
|
{
|
|
g_verify->push_msg(type, "服务端", account, order);
|
|
}
|
|
else
|
|
{
|
|
if (type == "read_order")
|
|
{
|
|
g_verify->push_msg(type, "服务端", account, order);
|
|
}
|
|
}
|
|
|
|
|
|
emit resultReady("推送请求结束");
|
|
} |