Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_vip
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
xiaojing.zhang
fmp_vip
Commits
11854b15
Commit
11854b15
authored
Aug 23, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 生日、姓名默认为"--"。
parent
ede00e4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
fmp_vip.pro
+1
-1
task/tasklogin.cpp
+6
-0
No files found.
fmp_vip.pro
View file @
11854b15
...
...
@@ -11,7 +11,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG
+=
c
++
11
#
DEFINES += TEST
DEFINES
+=
TEST
SOURCES
+=
\
fmp_vip
.
cpp
\
...
...
task/tasklogin.cpp
View file @
11854b15
...
...
@@ -72,7 +72,13 @@ void TaskLogin::onLogin()
else
{
QString
account
=
getServerJsonValue
(
PosProps
.
Fm_open_id
).
toString
();
QString
birthday
=
getServerJsonValue
(
PosProps
.
Birthday
).
toString
();
if
(
birthday
.
isEmpty
())
{
birthday
=
"--"
;
}
QString
name
=
getServerJsonValue
(
PosProps
.
Name
).
toString
();
if
(
name
.
isEmpty
())
{
name
=
"--"
;
}
bool
canPay
=
(
getServerJsonValue
(
PosProps
.
CanPay
).
toInt
()
==
1
);
#ifdef TEST
...
...
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