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
e5ce4fee
Commit
e5ce4fee
authored
Feb 24, 2022
by
YANGYANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时空 网吧、旅店演示数据提交
parent
42203eda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
14 deletions
+31
-14
serviceapi/resource/src/main/java/com/founder/controller/ReadJson/yazcJson.java
+3
-13
serviceapi/resource/src/main/resources/data/yazc/selectWbXx.json
+28
-1
No files found.
serviceapi/resource/src/main/java/com/founder/controller/ReadJson/yazcJson.java
View file @
e5ce4fee
...
...
@@ -104,15 +104,10 @@ public class yazcJson {
@RequestMapping
(
"/selectWbXx"
)
@ApiOperation
(
value
=
"周边快查-网吧信息"
)
public
JSONObject
selectWbXx
(
@ApiParam
(
name
=
"objectValue"
,
value
=
"标识号值"
,
required
=
true
)
@RequestParam
String
objectValue
)
{
public
JSONObject
selectWbXx
()
{
JSONObject
person
=
null
;
try
{
if
(
StringUtils
.
isNotEmpty
(
objectValue
)
&&
"A4601065200002021121127"
.
equals
(
objectValue
)){
person
=
JsonUtils
.
readJsonFromClassPath
(
"data/yazc/selectWbXx.json"
,
JSONObject
.
class
);
}
else
{
person
=
JsonUtils
.
readJsonFromClassPath
(
"data/yrzc/NullData.json"
,
JSONObject
.
class
);
}
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
...
...
@@ -122,15 +117,10 @@ public class yazcJson {
@RequestMapping
(
"/selectLgXx"
)
@ApiOperation
(
value
=
"周边快查-旅馆信息"
)
public
JSONObject
selectLgXx
(
@ApiParam
(
name
=
"objectValue"
,
value
=
"标识号值"
,
required
=
true
)
@RequestParam
String
objectValue
)
{
public
JSONObject
selectLgXx
()
{
JSONObject
person
=
null
;
try
{
if
(
StringUtils
.
isNotEmpty
(
objectValue
)
&&
"A4601065200002021121127"
.
equals
(
objectValue
)){
person
=
JsonUtils
.
readJsonFromClassPath
(
"data/yazc/selectLgXx.json"
,
JSONObject
.
class
);
}
else
{
person
=
JsonUtils
.
readJsonFromClassPath
(
"data/yrzc/NullData.json"
,
JSONObject
.
class
);
}
person
=
JsonUtils
.
readJsonFromClassPath
(
"data/yazc/selectLgXx.json"
,
JSONObject
.
class
);
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
...
...
serviceapi/resource/src/main/resources/data/yazc/selectWbXx.json
View file @
e5ce4fee
{
"status"
:
200
,
"msg"
:
"获取网吧信息"
,
"data"
:
[]
"data"
:
[
{
"name"
:
"红树林网吧"
,
"x"
:
"110.32395411348803"
,
"y"
:
"20.029906088705985"
},
{
"name"
:
"战地网吧"
,
"x"
:
"110.32288457855724"
,
"y"
:
"20.030410298030503"
},
{
"name"
:
"无敌网吧"
,
"x"
:
"110.3186348391019"
,
"y"
:
"20.029742626156157"
},
{
"name"
:
"爱电竞网咖"
,
"x"
:
"110.31949771794268"
,
"y"
:
"20.032343100441064"
},
{
"name"
:
"锦庄商务宾馆"
,
"x"
:
"110.32385904146646"
,
"y"
:
"20.03627070959154"
}
]
}
\ No newline at end of file
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