1
This commit is contained in:
parent
c6156418dd
commit
3c28297fdd
@ -265,7 +265,7 @@ bool App::HasTask()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return OrderMgr::Instance()->HasTask();
|
||||||
}
|
}
|
||||||
|
|
||||||
void App::DispatchMsg()
|
void App::DispatchMsg()
|
||||||
|
@ -8,9 +8,6 @@
|
|||||||
#include "framework/cpp/utils.h"
|
#include "framework/cpp/utils.h"
|
||||||
#include "framework/cpp/httpclientpool.h"
|
#include "framework/cpp/httpclientpool.h"
|
||||||
#include <a8/mutable_xobject.h>
|
#include <a8/mutable_xobject.h>
|
||||||
#if 0
|
|
||||||
#include "DBSListener.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct AddOrderNode
|
struct AddOrderNode
|
||||||
{
|
{
|
||||||
@ -279,6 +276,7 @@ int OrderMgr::AddReissue(const std::string& orderid)
|
|||||||
|
|
||||||
bool OrderMgr::WaitForReissueFinished(int seqid, int& result, int seconds)
|
bool OrderMgr::WaitForReissueFinished(int seqid, int& result, int seconds)
|
||||||
{
|
{
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OrderMgr::WaitForPayNotifyFinished(int seqid, int& result, int seconds)
|
bool OrderMgr::WaitForPayNotifyFinished(int seqid, int& result, int seconds)
|
||||||
@ -411,7 +409,9 @@ int OrderMgr::ProcOrderNotify(PayNotifyNode* node)
|
|||||||
return 4;
|
return 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
|
return 0;
|
||||||
|
#else
|
||||||
int ret = query_->ExecQuery("SELECT orderid, itemid, roleid, rolename, price, sp_pay_result, serverid "
|
int ret = query_->ExecQuery("SELECT orderid, itemid, roleid, rolename, price, sp_pay_result, serverid "
|
||||||
"FROM orderinfo WHERE orderid='%s' and sp_confirm_time=0;",
|
"FROM orderinfo WHERE orderid='%s' and sp_confirm_time=0;",
|
||||||
{ node->orderid});
|
{ node->orderid});
|
||||||
@ -476,7 +476,9 @@ int OrderMgr::ContinueSubscriptions(PayNotifyNode* node)
|
|||||||
|
|
||||||
int OrderMgr::ProcIosPayOrderNotify(PayNotifyNode* node)
|
int OrderMgr::ProcIosPayOrderNotify(PayNotifyNode* node)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 1
|
||||||
|
return 0;
|
||||||
|
#else
|
||||||
Template::RechargeCard *cardtpl = g_configtable->GetRechargeCard(node->itemid);
|
Template::RechargeCard *cardtpl = g_configtable->GetRechargeCard(node->itemid);
|
||||||
if (!cardtpl) {
|
if (!cardtpl) {
|
||||||
return 4;
|
return 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user