lyhzzz 3 years ago
parent
commit
346e5e0c27

+ 2 - 0
src/main/java/com/fdkankan/ucenter/controller/app/AppSceneController.java

@@ -18,6 +18,7 @@ public class AppSceneController {
 
     @Autowired
     AppSceneService appSceneService;
+
     /**
      * 获取云端场景
      */
@@ -51,6 +52,7 @@ public class AppSceneController {
         appSceneService.getScreencapVoice(screencapMusic,originalFileName,sceneNum);
         return Result.success();
     }
+
     /**
      * 删除场景
      */

+ 1 - 1
src/main/java/com/fdkankan/ucenter/service/impl/AppSceneService.java

@@ -151,7 +151,7 @@ public class AppSceneService {
             throw new BusinessException(SceneConstant.FAILURE_CODE_5005,SceneConstant.FAILURE_MSG_5005);
         }
         long time = System.currentTimeMillis();
-        Map<String, Object> map = new HashMap();
+        Map<String, Object> map = new HashMap<>();
         map.put("screencapVoiceSoundsyncFileName", screencapMusic + ".mp3");
         map.put("screencapVoiceSoundsync", originalFileName + "?t=" + time);
         log.info("微信上传的音频路径:" + originalFileName + "?t=" + time);