Commit dc8186e0 authored by 赵啸非's avatar 赵啸非

修改部分接口返回参数

parent 3a083a9e
...@@ -42,6 +42,7 @@ public class ComplexMatterServiceImpl extends AbstractComplexService implements ...@@ -42,6 +42,7 @@ public class ComplexMatterServiceImpl extends AbstractComplexService implements
@Override @Override
public Rest<LoginRspInfo> deviceLogin(DeviceLoginReq loginReq) { public Rest<LoginRspInfo> deviceLogin(DeviceLoginReq loginReq) {
String deviceLoginApi = host + "self-device-info/login"; String deviceLoginApi = host + "self-device-info/login";
log.info("deviceLoginApi req:{}", JSON.toJSONString(loginReq));
String rest = HttpUtil.post(deviceLoginApi, JSON.toJSONString(loginReq)); String rest = HttpUtil.post(deviceLoginApi, JSON.toJSONString(loginReq));
log.info("deviceLoginApi resp:{}", rest); log.info("deviceLoginApi resp:{}", rest);
ComplexApiRest<LoginRspInfo> complexApiRest = JSON.parseObject(rest, new TypeReference<ComplexApiRest<LoginRspInfo>>() { ComplexApiRest<LoginRspInfo> complexApiRest = JSON.parseObject(rest, new TypeReference<ComplexApiRest<LoginRspInfo>>() {
......
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