Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FmTakeaway
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
shangshang.dai
FmTakeaway
Commits
ee032320
Commit
ee032320
authored
May 25, 2017
by
ss.dai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 1:修复读取门店号写到升级配置文件去除空格
parent
b4fc2108
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fmTakeaway/Control/flowControl.cpp
+1
-1
run/userConfig.ini
+2
-2
No files found.
fmTakeaway/Control/flowControl.cpp
View file @
ee032320
...
@@ -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
());
}
}
...
...
run/userConfig.ini
View file @
ee032320
[SqlServer]
[SqlServer]
host
=
192.168.1
10.25
host
=
192.168.1
.100
username
=
sa
username
=
sa
password
=
password
=
database=
lxjpos
database=
kmcy_v8
[Printer]
[Printer]
name
=
Fax
name
=
Fax
...
...
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