Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_home
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhenfei.zhang
fmp_home
Commits
13c338a0
Commit
13c338a0
authored
Apr 07, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 可以启动会员项目。
parent
4589e123
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
fmp_home_p.cpp
+6
-6
No files found.
fmp_home_p.cpp
View file @
13c338a0
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
#include <ctkServiceReference.h>
#include <ctkServiceReference.h>
#include <QDebug>
#include <QDebug>
#include <fmp_epay_i.h>
#include <fmp_epay_i.h>
//
#include <fmp_vip_i.h>
#include <fmp_vip_i.h>
#include <fmp_settings_i.h>
#include <fmp_settings_i.h>
#include <QApplication>
#include <QApplication>
#include "fmp_login.h"
#include "fmp_login.h"
...
@@ -71,7 +71,7 @@ int FMPHomePrivate::login()
...
@@ -71,7 +71,7 @@ int FMPHomePrivate::login()
return
FMP_FAILURE
;
return
FMP_FAILURE
;
}
}
_isLogining
=
true
;
_isLogining
=
true
;
#if
1
#if
0
FMPLogin loginWnd;
FMPLogin loginWnd;
loginWnd.exec();
loginWnd.exec();
_isLogining = false;
_isLogining = false;
...
@@ -131,10 +131,10 @@ void FMPHomePrivate::onMenuBtnClicked(QString btnName)
...
@@ -131,10 +131,10 @@ void FMPHomePrivate::onMenuBtnClicked(QString btnName)
FMPePayInterface
*
e
=
q
->
GetService
<
FMPePayInterface
>
(
q
->
_ctx
);
FMPePayInterface
*
e
=
q
->
GetService
<
FMPePayInterface
>
(
q
->
_ctx
);
e
->
StartService
();
e
->
StartService
();
}
else
if
(
btnName
==
"vip"
)
{
}
else
if
(
btnName
==
"vip"
)
{
//
FMPVipInterface *e = q->GetService<FMPVipInterface>(q->_ctx);
FMPVipInterface
*
e
=
q
->
GetService
<
FMPVipInterface
>
(
q
->
_ctx
);
//
if(e->StartService() == FMP_SUCCESS) {
if
(
e
->
StartService
()
==
FMP_SUCCESS
)
{
//
_navWindow->showMessage(QString::fromLocal8Bit("[非码会员]已启动"));
_navWindow
->
showMessage
(
QString
::
fromLocal8Bit
(
"[非码会员]已启动"
));
//
}
}
}
else
if
(
btnName
==
"takeaway"
)
{
}
else
if
(
btnName
==
"takeaway"
)
{
// FMPTakeawayInterface *e = q->GetService<FMPTakeawayInterface>(q->_ctx);
// FMPTakeawayInterface *e = q->GetService<FMPTakeawayInterface>(q->_ctx);
// e->StartService();
// e->StartService();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment