|
@@ -32,6 +32,19 @@ public class SecondHandController {
|
|
@Autowired
|
|
@Autowired
|
|
SecondHandService secondHandService;
|
|
SecondHandService secondHandService;
|
|
|
|
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 改VR项目有计算中的模型,允许轮询,否则停止轮询
|
|
|
|
+ * 30s 轮询一次
|
|
|
|
+ * VR项目有计算中的模型,(true)允许轮询,(false)否则停止轮询
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation(value = "场景列表", position = 1, notes = "30s轮询一次,VR项目有计算中的模型,(true)允许轮询,(false)否则停止轮询")
|
|
|
|
+ @PostMapping("list")
|
|
|
|
+ public JSONObject list(@RequestBody SecondHandPageDto param) {
|
|
|
|
+ return secondHandService.jsonSearch(param);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 创建场景
|
|
* 创建场景
|
|
*
|
|
*
|
|
@@ -45,16 +58,7 @@ public class SecondHandController {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- /**
|
|
|
|
- * 改VR项目有计算中的模型,允许轮询,否则停止轮询
|
|
|
|
- * 30s 轮询一次
|
|
|
|
- * VR项目有计算中的模型,(true)允许轮询,(false)否则停止轮询
|
|
|
|
- */
|
|
|
|
- @ApiOperation(value = "场景列表", position = 1, notes = "30s轮询一次,VR项目有计算中的模型,(true)允许轮询,(false)否则停止轮询")
|
|
|
|
- @PostMapping("list")
|
|
|
|
- public JSONObject list(@RequestBody SecondHandPageDto param) {
|
|
|
|
- return secondHandService.jsonSearch(param);
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
|
|
@WebControllerLog(description = "二手房管理-更新初始画面")
|
|
@WebControllerLog(description = "二手房管理-更新初始画面")
|
|
@ApiOperation("更新初始画面")
|
|
@ApiOperation("更新初始画面")
|
|
@@ -139,8 +143,8 @@ public class SecondHandController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@WebControllerLog(description = "二手房管理-调用四维看看VR模型查找")
|
|
@WebControllerLog(description = "二手房管理-调用四维看看VR模型查找")
|
|
- @ApiOperation(value = "VR模型查找", position = 3, notes = "获取四维看看计算成功的场景信息")
|
|
|
|
- @PostMapping("findVrModel")
|
|
|
|
|
|
+ @ApiOperation(value = "fdkk-VR模型查找", notes = "获取四维看看计算成功的场景信息,四维看看目前不区分二手房场景")
|
|
|
|
+ @PostMapping("fdkk/findVrModel")
|
|
public Result findVrModel(@Valid @RequestBody SceneRroPageDto param) {
|
|
public Result findVrModel(@Valid @RequestBody SceneRroPageDto param) {
|
|
return secondHandService.findVrModel(param);
|
|
return secondHandService.findVrModel(param);
|
|
}
|
|
}
|
|
@@ -152,7 +156,7 @@ public class SecondHandController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@WebControllerLog(description = "二手房管理-VR项目删除")
|
|
@WebControllerLog(description = "二手房管理-VR项目删除")
|
|
- @ApiOperation(value = "VR项目删除", position = 3, notes = "管理后台删除VR项目时,把相应场景设置为删除状态")
|
|
|
|
|
|
+ @ApiOperation(value = "house-VR项目删除", notes = "管理后台删除VR项目时,把相应场景设置为删除状态")
|
|
@GetMapping("house/remove/{houseId}")
|
|
@GetMapping("house/remove/{houseId}")
|
|
public Result houseRemove(@PathVariable String houseId) {
|
|
public Result houseRemove(@PathVariable String houseId) {
|
|
return secondHandService.houseRemove(houseId);
|
|
return secondHandService.houseRemove(houseId);
|
|
@@ -171,7 +175,7 @@ public class SecondHandController {
|
|
@ApiImplicitParam(name = "status", value = "状态, 审核通过/上线:4, 下线:3", dataType = "String"),
|
|
@ApiImplicitParam(name = "status", value = "状态, 审核通过/上线:4, 下线:3", dataType = "String"),
|
|
})
|
|
})
|
|
@WebControllerLog(description = "二手房管理-VR项目审核通过/下线")
|
|
@WebControllerLog(description = "二手房管理-VR项目审核通过/下线")
|
|
- @ApiOperation(value = "VR项目审核通过/下线", position = 3)
|
|
|
|
|
|
+ @ApiOperation(value = "house-VR项目审核通过/下线")
|
|
@GetMapping("house/audit/{houseId}/{status}")
|
|
@GetMapping("house/audit/{houseId}/{status}")
|
|
public Result houseAudit(@PathVariable String houseId, @PathVariable String status) {
|
|
public Result houseAudit(@PathVariable String houseId, @PathVariable String status) {
|
|
return secondHandService.houseAudit(houseId, status);
|
|
return secondHandService.houseAudit(houseId, status);
|
|
@@ -184,7 +188,7 @@ public class SecondHandController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@WebControllerLog(description = "二手房管理-VR模模型, 根据场景码查询(判断删除作用)")
|
|
@WebControllerLog(description = "二手房管理-VR模模型, 根据场景码查询(判断删除作用)")
|
|
- @ApiOperation(value = "VR模模型-根据场景码查询", notes = "提供给四维看看,判断是否在720yun中使用此场景,true:有,四维看看不能删除此场景; false:可以删除")
|
|
|
|
|
|
+ @ApiOperation(value = "fdkk-VR模模型-根据场景码查询", notes = "提供给四维看看,判断是否在720yun中使用此场景,true:有,四维看看不能删除此场景; false:可以删除")
|
|
@GetMapping(value = "fdkk/findBySceneCode")
|
|
@GetMapping(value = "fdkk/findBySceneCode")
|
|
public Result vrFindBySceneCode(String sceneCode) {
|
|
public Result vrFindBySceneCode(String sceneCode) {
|
|
|
|
|