Commit 13c338a0 by NitefullWind

1. 可以启动会员项目。

parent 4589e123
......@@ -5,7 +5,7 @@
#include <ctkServiceReference.h>
#include <QDebug>
#include <fmp_epay_i.h>
//#include <fmp_vip_i.h>
#include <fmp_vip_i.h>
#include <fmp_settings_i.h>
#include <QApplication>
#include "fmp_login.h"
......@@ -71,7 +71,7 @@ int FMPHomePrivate::login()
return FMP_FAILURE;
}
_isLogining = true;
#if 1
#if 0
FMPLogin loginWnd;
loginWnd.exec();
_isLogining = false;
......@@ -131,10 +131,10 @@ void FMPHomePrivate::onMenuBtnClicked(QString btnName)
FMPePayInterface *e = q->GetService<FMPePayInterface>(q->_ctx);
e->StartService();
} else if(btnName == "vip") {
// FMPVipInterface *e = q->GetService<FMPVipInterface>(q->_ctx);
// if(e->StartService() == FMP_SUCCESS) {
// _navWindow->showMessage(QString::fromLocal8Bit("[非码会员]已启动"));
// }
FMPVipInterface *e = q->GetService<FMPVipInterface>(q->_ctx);
if(e->StartService() == FMP_SUCCESS) {
_navWindow->showMessage(QString::fromLocal8Bit("[非码会员]已启动"));
}
} else if(btnName == "takeaway") {
// FMPTakeawayInterface *e = q->GetService<FMPTakeawayInterface>(q->_ctx);
// e->StartService();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment