Commit 9eff87a9 authored by 龚小红's avatar 龚小红

修复验证码类型错误问题

parent efbbec9a
......@@ -251,7 +251,7 @@ public class BaseUtils {
params.clear();
params.put("phone","15136361308");
Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest);
long captcha = autoTestRes.jsonPath().getLong("data");
String captcha = autoTestRes.jsonPath().getString("data");
System.out.println(captcha);
//登录接口
......@@ -300,7 +300,7 @@ public class BaseUtils {
params.clear();
params.put("phone","15136361307");
Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest);
long captcha = autoTestRes.jsonPath().getLong("data");
String captcha = autoTestRes.jsonPath().getString("data");
System.out.println(captcha);
//登录接口
......@@ -350,7 +350,7 @@ public class BaseUtils {
params.clear();
params.put("phone","15136361306");
Response autoTestRes = network.getResponse(params,BasicConfig.CORP_getCaptchaForAutoTest);
long captcha = autoTestRes.jsonPath().getLong("data");
String captcha = autoTestRes.jsonPath().getString("data");
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