Commit ad858604 by guanghui.cui

添加订单漂移字段

parent 3f8c5797
......@@ -186,6 +186,7 @@ struct orderObj
std::string pickup_code; //自取订单取餐码
std::string pickup_point; //自取订单取餐处
std::string invoice_pickup_code; //订单发票提出码
std::string order_drift; //订单漂移
store storeInfo; //门店信息
delivery deliveryInfo; //配送信息
......
......@@ -159,6 +159,7 @@ bool JsonModule::getPushOrders(IN const char* json,OUT orderObj &order)
GetJsonStringSafe(document,"token");
GetJsonStringSafe(document,"ver");
order.order_drift = GetJsonStringSafe(document, "order_drift");
//配送信息
std::string delivery_type;
......@@ -942,6 +943,9 @@ std::string JsonModule::_convertToNewOrderJson(orderObj &obj)
writer.Key("invoice_pickup_code");
writer.String(obj.invoice_pickup_code.c_str());
writer.Key("order_drift");
writer.String(obj.order_drift.c_str());
//----------------门店信息----------------
writer.Key("store");
writer.StartObject();
......
......@@ -18,7 +18,7 @@
INITIALIZE_EASYLOGGINGPP
#define VERSION "1.0.4.1" //版本号
#define VERSION "1.0.4 Beta2" //版本号
std::string g_init_data;
std::string g_init_data_ods_back;
......
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