Commit ee032320 by ss.dai

Fix 1:修复读取门店号写到升级配置文件去除空格

parent b4fc2108
...@@ -43,7 +43,7 @@ bool FlowControl::_GetStoreInfo() ...@@ -43,7 +43,7 @@ bool FlowControl::_GetStoreInfo()
if(!setting.contains("info/store_id")) if(!setting.contains("info/store_id"))
{ {
qsrand(QTime(0,0,0).secsTo(QTime::currentTime())); qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
setting.setValue("info/store_id", m_storeId); setting.setValue("info/store_id", m_storeId.simplified());
setting.setValue("info/pos_no", qrand()); setting.setValue("info/pos_no", qrand());
} }
......
[SqlServer] [SqlServer]
host=192.168.110.25 host=192.168.1.100
username=sa username=sa
password= password=
database=lxjpos database=kmcy_v8
[Printer] [Printer]
name=Fax name=Fax
......
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