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
f652ea28
Commit
f652ea28
authored
Apr 03, 2019
by
guanghui.cui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增骑手已接单状态
parent
99496e54
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletions
+6
-1
base/BaseDefine.h
+2
-0
src/JsonModule.cpp
+3
-0
src/main.cpp
+1
-1
No files found.
base/BaseDefine.h
View file @
f652ea28
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#define ORDERSTATUS_APPOINTMENT_PAID 1030 //已支付(点取分离)
#define ORDERSTATUS_APPOINTMENT_PAID 1030 //已支付(点取分离)
#define ORDERSTATUS_APPOINTMENT_REFUND 1031 //用户退款(点取分离)
#define ORDERSTATUS_APPOINTMENT_REFUND 1031 //用户退款(点取分离)
#define ORDERSTATUS_SCANCODE_PAID 1032 //已支付(扫码购)
#define ORDERSTATUS_SCANCODE_PAID 1032 //已支付(扫码购)
#define ORDERSTATUS_SHAPPING_COMFIRMED 1040 //骑手接单(咖啡)
//请求类型对照表
//请求类型对照表
#define REQUEST_TYPE_INIT 1000 //初始化
#define REQUEST_TYPE_INIT 1000 //初始化
...
@@ -135,6 +136,7 @@
...
@@ -135,6 +136,7 @@
#define ODS_ORDERSTATUS_COFFEE_CONFIRMED 40006 //已接单(咖啡小程序)
#define ODS_ORDERSTATUS_COFFEE_CONFIRMED 40006 //已接单(咖啡小程序)
#define ODS_ORDERSTATUS_COFFEE_SHIPPING 40008 //配送中(咖啡小程序)
#define ODS_ORDERSTATUS_COFFEE_SHIPPING 40008 //配送中(咖啡小程序)
#define ODS_ORDERSTATUS_COFFEE_DONE 40009 //已完成(咖啡小程序)
#define ODS_ORDERSTATUS_COFFEE_DONE 40009 //已完成(咖啡小程序)
#define ODS_ORDERSTATUS_COFFEE_SHIPPING_CONFIRMED 400012 //骑手已接单(咖啡小程序)
//推送类型
//推送类型
#define ODS_PUSH_TYPE_HEARTBEAT 3 //心跳
#define ODS_PUSH_TYPE_HEARTBEAT 3 //心跳
...
...
src/JsonModule.cpp
View file @
f652ea28
...
@@ -1752,6 +1752,9 @@ int JsonModule::_getPOSOrderStatus(int status)
...
@@ -1752,6 +1752,9 @@ int JsonModule::_getPOSOrderStatus(int status)
case
ODS_ORDERSTATUS_COFFEE_DONE
:
case
ODS_ORDERSTATUS_COFFEE_DONE
:
rltStatus
=
ORDERSTATUS_COMPLETE
;
rltStatus
=
ORDERSTATUS_COMPLETE
;
break
;
break
;
case
ODS_ORDERSTATUS_COFFEE_SHIPPING_CONFIRMED
:
rltStatus
=
ORDERSTATUS_SHAPPING_COMFIRMED
;
break
;
default
:
default
:
break
;
break
;
}
}
...
...
src/main.cpp
View file @
f652ea28
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
INITIALIZE_EASYLOGGINGPP
INITIALIZE_EASYLOGGINGPP
#define VERSION "1.
0.9
" //版本号
#define VERSION "1.
1.0 beta1
" //版本号
std
::
string
g_init_data
;
std
::
string
g_init_data
;
std
::
string
g_init_data_ods_back
;
std
::
string
g_init_data_ods_back
;
...
...
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