Commit e5ce4fee by YANGYANG

时空 网吧、旅店演示数据提交

parent 42203eda
......@@ -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);
}
} catch (IOException e) {
e.printStackTrace();
}
......
{
"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
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