Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
familyMart_takeaway
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
guanghui.cui
familyMart_takeaway
Commits
b80a20e5
Commit
b80a20e5
authored
Apr 11, 2018
by
guanghui.cui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1,积分信息添加名称字段 2、ODS连接非法增加延时,防止大量刷日志
parent
6683ede2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/JsonModule.cpp
+1
-0
src/main.cpp
+1
-0
No files found.
src/JsonModule.cpp
View file @
b80a20e5
...
@@ -381,6 +381,7 @@ bool JsonModule::getPushOrders(IN const char* json,OUT orderObj &order)
...
@@ -381,6 +381,7 @@ bool JsonModule::getPushOrders(IN const char* json,OUT orderObj &order)
detail
.
pcode
=
GetJsonStringSafe
(
pointDetails_obj
,
"pcode"
);
detail
.
pcode
=
GetJsonStringSafe
(
pointDetails_obj
,
"pcode"
);
detail
.
desc
=
GetJsonStringSafe
(
pointDetails_obj
,
"desc"
);
detail
.
desc
=
GetJsonStringSafe
(
pointDetails_obj
,
"desc"
);
detail
.
bonus
=
GetJsonIntSafe
(
pointDetails_obj
,
"point"
);
detail
.
bonus
=
GetJsonIntSafe
(
pointDetails_obj
,
"point"
);
detail
.
name
=
GetJsonStringSafe
(
pointDetails_obj
,
"name"
);
detail
.
sku
=
GetJsonStringSafe
(
pointDetails_obj
,
"sku"
);
detail
.
sku
=
GetJsonStringSafe
(
pointDetails_obj
,
"sku"
);
detail
.
proType
=
GetJsonStringSafe
(
pointDetails_obj
,
"type"
);
detail
.
proType
=
GetJsonStringSafe
(
pointDetails_obj
,
"type"
);
if
(
"00"
==
detail
.
proType
){
if
(
"00"
==
detail
.
proType
){
...
...
src/main.cpp
View file @
b80a20e5
...
@@ -318,6 +318,7 @@ int main()
...
@@ -318,6 +318,7 @@ int main()
LOG
(
INFO
)
<<
"wait for init done"
;
LOG
(
INFO
)
<<
"wait for init done"
;
if
(
!
ods
.
isValid
()
){
if
(
!
ods
.
isValid
()
){
LOG
(
INFO
)
<<
"ods is not valid"
;
LOG
(
INFO
)
<<
"ods is not valid"
;
sleep
(
1
);
break
;
break
;
}
}
sleep
(
1
);
sleep
(
1
);
...
...
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