Commit ffbdea21 by 李定达

1.增加300-400之间冲正类型

parent d37f9288
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
//#define REQUEST_CRET "{\"ver\": 1,\"reqType\": 99,\"partnerId\":%d,\"storeId\":\"%s\",\"stationId\": \"%s\",\"mac\":\"%s\"}" //#define REQUEST_CRET "{\"ver\": 1,\"reqType\": 99,\"partnerId\":%d,\"storeId\":\"%s\",\"stationId\": \"%s\",\"mac\":\"%s\"}"
//GC //GC 1438
//#define DES3_KEY "ABCD@#9876DFSAAWKLDEOPDD" #define DES3_KEY "ABCD@#9876DFSAAWKLDEOPDD"
//EC //EC 1446
#define DES3_KEY "DDDDEEEE45LPODDCXZZLKDDO" //#define DES3_KEY "DDDDEEEE45LPODDCXZZLKDDO"
#define CRET_FILE_NAME "client.p12" #define CRET_FILE_NAME "client.p12"
#define JSON_KEY_ONLY "partnerOrderId" #define JSON_KEY_ONLY "partnerOrderId"
......
...@@ -848,6 +848,10 @@ int ResendMsg(std::string in) ...@@ -848,6 +848,10 @@ int ResendMsg(std::string in)
{ {
root["reqType"] = (int)103; root["reqType"] = (int)103;
} }
else if(type >= 300 && type <= 400)
{
root["reqType"] = (int)3;
}
else else
{ {
root["reqType"] = type; root["reqType"] = type;
......
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