Commit e65e6b51 by gujin.wang

修改支付模块数据库生成位置

parent 797bee8a
......@@ -2,7 +2,7 @@
#include "fmp_epay_def.h"
#include "fmp_pe_handlers.h"
#include <QDateTime>
#include <QApplication>
FMPePay::FMPePay(const FMPContext ctx)
: FMPePayInterface(),
......@@ -11,7 +11,7 @@ FMPePay::FMPePay(const FMPContext ctx)
_inited(false),
//_needanimation(false),
_partner_id(QString("")),
_databasename(DEFAULT_EPAY_DATABASENAME),
_databasename(QApplication::applicationDirPath()+ "/" + DEFAULT_EPAY_DATABASENAME),
_table(DEFAULT_EPAY_TABLE),
_redeem_table(DEFAULT_REDEEM_TABLE),
_businessdate(QDateTime::currentDateTime().toString("yyyy-MM-dd")),
......
Plugin-SymbolicName: fmp.epay
Plugin-Version: 0.1.0
Plugin-Name: fmp.epay
Plugin-Copyright: Freemud Ltd. Copyright (C) 2014-2017
Plugin-Copyright: Freemud Ltd. Copyright (C) 2014-2018
Plugin-Vendor: Freemud
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