Commit 11854b15 by NitefullWind

1. 生日、姓名默认为"--"。

parent ede00e4a
......@@ -11,7 +11,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
#DEFINES += TEST
DEFINES += TEST
SOURCES += \
fmp_vip.cpp \
......
......@@ -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
......
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