Commit b8703dfa by wuyang.zou

fix

1、整理 Upp 发版提测范围  测试机器范围  Pilot门店起步范围
2、在 fmclient 获取 证书公私钥时,将 dllVerison + serverUrl 信息上传
parent d09eda57
>>>>>>>>>>>>>>>>Apply For QA , Test Scope>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>Apply For QA , Test Scope>>>>>>>>>>>>>>>>>>
3.2.1、微信支付 销售 / 退货
3.2.2、支付宝支付 销售 / 退货
3.2.3、现金支付 销售 / 退货
3.2.4、券支付 销售 / 退货
3.2.5、星礼卡支付 销售 / 退货
3.2.6、商品券+代金券+折扣券 【cmb券不走Upp 核销】 销售 / 退货
3.2.7、银联支付 销售 / 退货
3.2.8、点2杯饮品,其中1杯使用指定BOGO折扣,
点选折扣后使用饮品券兑换,能使用成功 销售 / 退货
3.2.9、打印日结单
新增的测试点:
3.3.0、会员通场景下的招行券的兑换和冲正
3.3.1、星礼卡的查询、激活、退卡、充值和取消充值
3.3.2、支付宝微信签到
----------------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>Test Pos Machine>>>>>>>>>>>>>>>>>>
测试机:10.73.194.223(EC),
10.73.194.216 (CCO),
10.73.194.109 (Roastery)
----------------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>Pilot Store>>>>>>>>>>>>>>>>>>>>>>>>>>>>
广州区域店
【广州保利香槟花园店 020-38373501/020-38373502 31835 * 】
【广州黄埔大道西店 020-89817920/020-89819597 51889 * 】
【广州太阳新天地店 020-37887461/020-37887460 29199 * 】
【广州邦华环球国际分店 020-61972251/020-61972252 20145 * 】
【广州花城汇四店 020-37276403/020-37276352 57311 * 】
---------------------------------
【广州花城湾店 020-37260486/020-37261073 22371 * 】
【广州华亿丽晶店 020-38255530/020-38788740 16171 * 】
【广州南国商苑店 020-38686150/020-38686151 15999 * 】
【广州中国联通大厦店 020-22088718/020-22088719 16486 * 】
----------------------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>Test Coupon + TransID >>>>>>>>>>>>>>>>>>>>>>>>>>>>
支付宝: 299900002222123456
券支付: 7310292370021909232=A9CFD5E5D4843E83
----------------------------------------------------------------------------------------
\ No newline at end of file
......@@ -372,14 +372,14 @@ public:
}
/***********************************
*GetJsonKeyArray : 获取json中非array非object的key
*GetKeyListFromJson : 获取json中非array非object的key
*keys :json的key数组
*json : json字符串
*返回 :0 失败; 非0表示key的数量
***********************************/
static int GetJsonKeyArray(std::string* keys,const std::string &json)
static int GetKeyListFromJson(std::string* keys,const std::string &json)
{
LOG() << "GetJsonKeyArray";
LOG() << "GetKeyListFromJson";
Document root;
Value value;
......@@ -426,13 +426,13 @@ public:
}
/***********************************
*GetValueFromJson : 按照顺序
*GetValueListFromJson : 按照顺序
*keys :json的key数组
*json : length数组长度
***********************************/
static int GetValueFromJson(const std::string *keys, int length, const std::string &json, std::string &outmsg)
static int GetValueListFromJson(const std::string *keys, int length, const std::string &json, std::string &outmsg)
{
LOG() <<"GetValueFromJson";
LOG() <<"GetValueListFromJson";
Document root;
Value value;
int num;
......
......@@ -10,7 +10,7 @@
#define MAX_SIGN_LEN 256
#define CFG_FILE_NAME "fmclient.cfg"
#define RBG_FILE_NAME "fmclient.rbk"
#define REQUEST_CRET "{\"ver\": 1,\"reqType\": 99,\"partnerId\":%d,\"storeId\":\"%s\",\"stationId\": \"%s\",\"mac\":\"%s\",\"posType\":%d}"
#define REQUEST_CRET "{\"ver\": 1,\"reqType\": 99,\"partnerId\":%d,\"storeId\":\"%s\",\"stationId\": \"%s\",\"mac\":\"%s\",\"posType\":%d,\"dllVersion\":\"%s\",\"serverUrl\":\"%s\"}"
//CCO-1438
#define CCO_DES3_KEY "ABCD@#9876DFSAAWKLDEOPDD"
......
......@@ -21,7 +21,7 @@ using namespace rapidjson;
class Tool {
public:
static int GetMacByGetAdaptersAddresses(std::string& macOUT) {
static int GetMacByAdaptersAddresses(std::string& macOut) {
bool ret = 0;
ULONG outBufLen = sizeof(IP_ADAPTER_ADDRESSES);
......@@ -53,7 +53,8 @@ public:
int (pCurrAddresses->PhysicalAddress[3]),
int (pCurrAddresses->PhysicalAddress[4]),
int (pCurrAddresses->PhysicalAddress[5]));
macOUT = acMAC;
macOut = acMAC;
ret = 1;
break;
}
......
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