Commit 00a19b69 authored by 龚小红's avatar 龚小红

Merge branch 'Feature/20211215-gxh' into 'master'

修复验证码类型错误问题

See merge request test-group/kejiji!201
parents 25babab1 9eff87a9
...@@ -251,7 +251,7 @@ public class BaseUtils { ...@@ -251,7 +251,7 @@ public class BaseUtils {
params.clear(); params.clear();
params.put("phone","15136361308"); params.put("phone","15136361308");
Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest); Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest);
long captcha = autoTestRes.jsonPath().getLong("data"); String captcha = autoTestRes.jsonPath().getString("data");
System.out.println(captcha); System.out.println(captcha);
//登录接口 //登录接口
...@@ -300,7 +300,7 @@ public class BaseUtils { ...@@ -300,7 +300,7 @@ public class BaseUtils {
params.clear(); params.clear();
params.put("phone","15136361307"); params.put("phone","15136361307");
Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest); Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest);
long captcha = autoTestRes.jsonPath().getLong("data"); String captcha = autoTestRes.jsonPath().getString("data");
System.out.println(captcha); System.out.println(captcha);
//登录接口 //登录接口
...@@ -350,7 +350,7 @@ public class BaseUtils { ...@@ -350,7 +350,7 @@ public class BaseUtils {
params.clear(); params.clear();
params.put("phone","15136361306"); params.put("phone","15136361306");
Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest); Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest);
long captcha = autoTestRes.jsonPath().getLong("data"); String captcha = autoTestRes.jsonPath().getString("data");
System.out.println(captcha); System.out.println(captcha);
//登录接口 //登录接口
......
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