Commit e6d12fb6 by guanghui.cui

商品在pos中不存在时,返回103

parent 571786e4
......@@ -1701,6 +1701,15 @@ bool JsonModule::_getOrderResponseJson(IN const std::string& posResponse, IN con
writer.Key("pk_id");
writer.Int(pk_id);
//该状态表示商品在pos中不存在,需要返回字段给中台,由于双方命名规则不一致,所以这里拼上中台需要字段
if (103 == status_code) {
writer.Key("orderId");
writer.String(order_id.c_str());
writer.Key("statusCode");
writer.String(std::to_string(status_code).c_str());
}
writer.EndObject();
result = buffer.GetString();
......
......@@ -18,7 +18,7 @@
INITIALIZE_EASYLOGGINGPP
#define VERSION "1.0.2" //版本号
#define VERSION "1.0.2 Beta1" //版本号
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