Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
6b703b56
Commit
6b703b56
authored
Jul 01, 2022
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
西藏提交
parent
a3e89d0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
service/publicapi/src/main/java/com/founder/publicapi/controller/SkInterface/GlgxInterface.java
+5
-3
No files found.
service/publicapi/src/main/java/com/founder/publicapi/controller/SkInterface/GlgxInterface.java
View file @
6b703b56
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
(
"无法查询此标识号类型"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment