Commit abd4ae5d by zhangying

删除登录获取验证码

parent 3c04b56f
......@@ -159,22 +159,22 @@ public class CommonLogin {
headers.put("p", p);
// 执行获取验证码
headers.put("content-type", "application/json; charset=UTF-8");
url = host + "/horn/anon/horn/msgAuthCode";
logger.info("执行获取验证码登录URL==>>" + url);
String data = "{\n" +
" \"serverType\": \"BIND_PHONE\",\n" +
" \"phone\": " + accountNo + "\n" +
"}";
okHttpClient.doPostRequest(url, data, headers);
// headers.put("content-type", "application/json; charset=UTF-8");
// url = host + "/horn/anon/horn/msgAuthCode";
// logger.info("执行获取验证码登录URL==>>" + url);
//
// String data = "{\n" +
// " \"serverType\": \"BIND_PHONE\",\n" +
// " \"phone\": " + accountNo + "\n" +
// "}";
// okHttpClient.doPostRequest(url, data, headers);
// 执行验证码登录
url = host + "/account/public/account/bindPhone";
logger.info("执行验证码登录URL==>>" + url);
data = "{\n" +
String data = "{\n" +
" \"authCode\": \"0000\",\n" +
" \"phone\": " + accountNo + "\n" +
"}";
......
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