|
@@ -89,7 +89,7 @@ public class SceneEditController extends BaseController {
|
|
|
* @return com.fdkankan.common.response.ResultData
|
|
|
**/
|
|
|
@PostMapping(value = "/uploadScreencapVoiceNew")
|
|
|
- public ResultData uploadScreencapVoice(@RequestBody @Validated FileParamVO param,
|
|
|
+ public ResultData uploadScreencapVoice(FileParamVO param,
|
|
|
@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
return sceneProService.uploadScreencapVoiceNew(param, file);
|
|
|
}
|
|
@@ -105,7 +105,7 @@ public class SceneEditController extends BaseController {
|
|
|
* @return com.fdkankan.common.response.ResultData
|
|
|
**/
|
|
|
@PostMapping(value = "/uploadScreencapVoiceNewV3")
|
|
|
- public ResultData uploadScreencapVoiceV3(@RequestBody @Validated FileParamVO param,
|
|
|
+ public ResultData uploadScreencapVoiceV3(FileParamVO param,
|
|
|
@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
return sceneProService.uploadScreencapVoiceNewV3(param, file);
|
|
|
}
|
|
@@ -275,7 +275,7 @@ public class SceneEditController extends BaseController {
|
|
|
* @return com.fdkankan.common.response.ResultData
|
|
|
**/
|
|
|
@PostMapping(value = "/uploadHotMedia")
|
|
|
- public ResultData uploadHotMedia(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
+ public ResultData uploadHotMedia(FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
return sceneProService.uploadHotMedia(param, file);
|
|
|
}
|
|
|
|
|
@@ -290,7 +290,7 @@ public class SceneEditController extends BaseController {
|
|
|
* @return com.fdkankan.common.response.ResultData
|
|
|
**/
|
|
|
@PostMapping(value = "/uploadOverlayMedia")
|
|
|
- public ResultData uploadOverlayMedia(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
+ public ResultData uploadOverlayMedia(FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
return sceneProService.uploadOverlayMedia(param, file);
|
|
|
}
|
|
|
|
|
@@ -336,7 +336,7 @@ public class SceneEditController extends BaseController {
|
|
|
* 获取从浏览器的音频
|
|
|
*/
|
|
|
@PostMapping(value = "/getRecordAudioFromBrowser")
|
|
|
- public ResultData getRecordAudioFromBrowser(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
+ public ResultData getRecordAudioFromBrowser(FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
return sceneProService.getRecordAudioFromBrowser(param, file);
|
|
|
}
|
|
|
|
|
@@ -352,7 +352,7 @@ public class SceneEditController extends BaseController {
|
|
|
* 安居客
|
|
|
*/
|
|
|
@PostMapping(value = "/uploadFloorJsonAjk")
|
|
|
- public ResultData uploadFloorJsonAjk(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile[] file) throws Exception{
|
|
|
+ public ResultData uploadFloorJsonAjk(FileParamVO param, @RequestParam("file") MultipartFile[] file) throws Exception{
|
|
|
|
|
|
return sceneProService.uploadFloorJsonAjk(param, file);
|
|
|
}
|
|
@@ -383,7 +383,7 @@ public class SceneEditController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping(value = "/uploadPic")
|
|
|
- public ResultData uploadPic(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
+ public ResultData uploadPic(FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
return sceneProService.uploadPic(param, file);
|
|
|
}
|
|
|
|
|
@@ -411,7 +411,7 @@ public class SceneEditController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping(value = "/uploadFloorplanPng")
|
|
|
- public ResultData uploadFloorplanPng(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile[] file) throws Exception {
|
|
|
+ public ResultData uploadFloorplanPng(FileParamVO param, @RequestParam("file") MultipartFile[] file) throws Exception {
|
|
|
return sceneProService.uploadFloorplanPng(param, file);
|
|
|
}
|
|
|
|
|
@@ -440,7 +440,7 @@ public class SceneEditController extends BaseController {
|
|
|
*/
|
|
|
// @SystemControllerLog(description = "上传修改后的obj和贴图")
|
|
|
@PostMapping(value = "/uploadObjAndImg")
|
|
|
- public ResultData uploadObjAndImg(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
+ public ResultData uploadObjAndImg(FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception {
|
|
|
return sceneProService.uploadObjAndImg(param, file);
|
|
|
}
|
|
|
|
|
@@ -474,7 +474,7 @@ public class SceneEditController extends BaseController {
|
|
|
* 上传点位全景图或视频
|
|
|
*/
|
|
|
@PostMapping(value = "/uploadPanoramaOrVideo")
|
|
|
- public ResultData uploadPanoramaOrVideo(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
+ public ResultData uploadPanoramaOrVideo(FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
return sceneProService.uploadPanoramaOrVideo(param, file);
|
|
|
}
|
|
|
|
|
@@ -482,7 +482,7 @@ public class SceneEditController extends BaseController {
|
|
|
* 上传绿幕抠图视频
|
|
|
*/
|
|
|
@PostMapping(value = "/uploadROIVideo")
|
|
|
- public ResultData uploadROIVideo(@RequestBody FileParamVO param, @RequestParam(name = "file", required = false) MultipartFile file) throws Exception{
|
|
|
+ public ResultData uploadROIVideo(FileParamVO param, @RequestParam(name = "file", required = false) MultipartFile file) throws Exception{
|
|
|
return sceneProService.uploadROIVideo(param, file);
|
|
|
}
|
|
|
|
|
@@ -499,7 +499,7 @@ public class SceneEditController extends BaseController {
|
|
|
* 上传场景背景音乐
|
|
|
*/
|
|
|
@PostMapping(value = "/uploadBgMusic")
|
|
|
- public ResultData uploadBgMusic(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
+ public ResultData uploadBgMusic(FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
return sceneProService.uploadBgMusic(param, file);
|
|
|
}
|
|
|
|
|
@@ -516,7 +516,7 @@ public class SceneEditController extends BaseController {
|
|
|
* 保存关联全景图
|
|
|
*/
|
|
|
@PostMapping(value = "/savePanorama")
|
|
|
- public ResultData savePanorama(@RequestBody FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
+ public ResultData savePanorama(FileParamVO param, @RequestParam("file") MultipartFile file) throws Exception{
|
|
|
return sceneProService.savePanorama(param, file);
|
|
|
}
|
|
|
|