提交 60edeb6a 编写于 作者: fengyuan.wan's avatar fengyuan.wan

记录闪验接口调用日志

上级 460bdb45
流水线 #22006 已失败 于阶段
in 0 second
......@@ -43,4 +43,14 @@ public class MobileDataEntity {
public void setTag(String tag) {
this.tag = tag;
}
@Override
public String toString() {
return "MobileDataEntity{" +
"mobileName='" + mobileName + '\'' +
", tradeNo='" + tradeNo + '\'' +
", fanqizha=" + fanqizha +
", tag='" + tag + '\'' +
'}';
}
}
......@@ -52,4 +52,15 @@ public class QueryMobileEntity {
public void setData(MobileDataEntity data) {
this.data = data;
}
@Override
public String toString() {
return "QueryMobileEntity{" +
"code='" + code + '\'' +
", message='" + message + '\'' +
", chargeStatus=" + chargeStatus +
", data=" + data +
", mobile='" + mobile + '\'' +
'}';
}
}
......@@ -78,6 +78,7 @@ public class OneClickProcessor {
params.put("sign", SignUtils.getSign(params, appKey));
queryMobileEntity = HttpUtil.postForm(mobileQueryUrl, params, QueryMobileEntity.class);
if (null != queryMobileEntity) {
logger.info("一键登录token换取手机号结果:{}", queryMobileEntity);
String code = queryMobileEntity.getCode(); //返回码 200000为成功
if ("200000".equals(code)) {
MobileDataEntity mobileDataEntity = queryMobileEntity.getData();
......@@ -98,7 +99,7 @@ public class OneClickProcessor {
}
@Async
public void savelogLoginOnekey(QueryMobileEntity queryMobileEntity, Integer type,Integer logLoginId) {
public void savelogLoginOnekey(QueryMobileEntity queryMobileEntity, Integer type, Integer logLoginId) {
LogLoginOnekey l = new LogLoginOnekey();
l.setDeviceType(type.byteValue());
MobileDataEntity data = queryMobileEntity.getData();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册