Commit 6b703b56 by yangyang

西藏提交

parent a3e89d0f
package com.founder.publicapi.controller.SkInterface;
import cn.hutool.json.JSONObject;
import com.alibaba.fastjson.JSON;
import com.founder.commonutils.model.newPublicEntity.Car;
import com.founder.commonutils.model.newPublicEntity.MapRestResult;
import com.founder.commonutils.model.newPublicEntity.PeopleInfo;
......@@ -70,7 +72,7 @@ public class GlgxInterface {
peopleInfo.setChildren(peopleInfos);
// 返回结果数据 与前端一致
map.put("result",peopleInfo);
map.put("result", JSON.toJSONString(peopleInfo));
map.put("objecttype",objectType);
map.put("objectvalue",objectValue);
return MapRestResult.build(200,"成功获取身份信息!",1,map);
......@@ -116,7 +118,7 @@ public class GlgxInterface {
// 返回结果数据 与前端一致
map.put("objecttype",objectType);
map.put("objectvalue",objectValue);
map.put("result",peopleInfo);
map.put("result",JSON.toJSONString(peopleInfo));
return MapRestResult.build(200,"成功获取身份信息!",1,map);
}else if(objectType.equals("02")){
//身份证号查询出来车牌号还有手机号
......@@ -164,7 +166,7 @@ public class GlgxInterface {
// 返回结果数据 与前端一致
map.put("objecttype",objectType);
map.put("objectvalue",objectValue);
map.put("result",self);
map.put("result",JSON.toJSONString(self));
return MapRestResult.build(200,"成功获取手机号码信息!",1,map);
}else{
return MapRestResult.error("无法查询此标识号类型");
......
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