Commit bdb20325 authored by Su-Yi's avatar Su-Yi

修改新用户初始版本类型判断

parent dacdf1c8
...@@ -44,8 +44,8 @@ public class Pay { ...@@ -44,8 +44,8 @@ public class Pay {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("t",System.currentTimeMillis()); params.put("t",System.currentTimeMillis());
Response userVersionResponse = network.getResponse(params, VERSION_INFO); Response userVersionResponse = network.getResponse(params, VERSION_INFO);
int userVersion = userVersionResponse.jsonPath().getInt("data.find {it.openType == 1}.userVersion"); // 找出开启状态的版本类型 int userVersion = userVersionResponse.jsonPath().getInt("data.find {it.openType == 1}.userVersion"); // 找出开启状态的版本类型 1为通用版 2为保险版
Assert.assertEquals(userVersion,1,network.message(params, VERSION_INFO,"会员类型版本判断:判断错误,此版本为保险版")); Assert.assertEquals(userVersion,2,network.message(params, VERSION_INFO,"会员类型版本判断:判断错误,此版本为通用版"));
//获取当前用户可用优惠码 //获取当前用户可用优惠码
......
...@@ -10,7 +10,7 @@ public class BasicConfig { ...@@ -10,7 +10,7 @@ public class BasicConfig {
// 用户微信昵称 // 用户微信昵称
public static final String WECHAT_NAME = "小疙瘩人寿"; //true public static final String WECHAT_NAME = "小疙瘩人寿"; //true
// 用户tku // 用户tku
public static final String AGENT_TKU = "T3gM31f18jAW2PScaq7Edra6rFP5FE6WMtZrKENQvLdKbz9Cxco2e4TVfPxEcGcN8MSWsy8UNryACCxNq9"; public static final String AGENT_TKU = "T3gM31f18jAW2PTGsthhWy3GVyEvgHADPdp3Pgnogte2iQPRjjKaxDi1cpW9QUKkoEhtoj4WmshTGdbPym";
// *************** 钉钉机器人 *************** // *************** 钉钉机器人 ***************
// 线上-告警群 // 线上-告警群
......
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