|
@@ -11,13 +11,17 @@ import com.fdkankan.common.util.FileUtils;
|
|
|
import com.fdkankan.common.util.UploadToOssUtil;
|
|
|
import com.fdkankan.common.util.WeiXinUtils;
|
|
|
import com.fdkankan.scene.entity.Scene;
|
|
|
+import com.fdkankan.scene.entity.SceneExt;
|
|
|
import com.fdkankan.scene.mapper.ISceneMapper;
|
|
|
import com.fdkankan.scene.service.ISceneAppService;
|
|
|
+import com.fdkankan.scene.service.ISceneExtService;
|
|
|
+import com.fdkankan.scene.service.ISceneService;
|
|
|
import com.fdkankan.scene.vo.SceneEditVO;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import net.coobird.thumbnailator.Thumbnails;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.data.redis.core.RedisTemplate;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -50,29 +54,35 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
private String type;
|
|
|
|
|
|
@Autowired
|
|
|
+ @Qualifier("uploadToOssUtil")
|
|
|
UploadToOssUtil uploadToOssUtil;
|
|
|
@Autowired
|
|
|
RedisTemplate redisTemplate;
|
|
|
+ @Autowired
|
|
|
+ ISceneService sceneService;
|
|
|
+ @Autowired
|
|
|
+ ISceneExtService sceneExtService;
|
|
|
|
|
|
|
|
|
@Override
|
|
|
- public int saveInitialPage(SceneEditVO base) throws IOException {
|
|
|
+ public int saveInitialPage(SceneEditVO base) throws Exception {
|
|
|
if(StrUtil.isEmpty(base.getSceneNum()) || StrUtil.isEmpty(base.getInitialPoint())){
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if(Objects.isNull(scene)){
|
|
|
return -2;
|
|
|
}
|
|
|
+ SceneExt sceneExt = sceneExtService.getBySceneId(scene.getId());
|
|
|
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
StringBuffer imagesBuf = new StringBuffer()
|
|
|
.append("images").append(File.separator)
|
|
|
- .append("images").append(scene.getNum())
|
|
|
+ .append("images").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer dataBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(dataBuf.toString());
|
|
@@ -101,7 +111,7 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
|
|
|
uploadToOssUtil.uploadMulFiles(uploadMap);
|
|
|
|
|
|
- scene.setEntry(base.getInitialPoint());
|
|
|
+ sceneExt.setEntry(base.getInitialPoint());
|
|
|
scene.setThumbStatus(1);
|
|
|
scene.setThumb(prefixAli + imagesBuf.append("thumbSmallImg.jpg").toString());
|
|
|
if("s3".equals(type)){
|
|
@@ -111,29 +121,32 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
scene.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
this.updateById(scene);
|
|
|
|
|
|
+ sceneExt.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
+ sceneExtService.updateById(sceneExt);
|
|
|
+
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int saveFloorLogo(SceneEditVO base) {
|
|
|
+ public int saveFloorLogo(SceneEditVO base) throws Exception {
|
|
|
if(StrUtil.isEmpty(base.getSceneNum()) || StrUtil.isEmpty(base.getSize()) ||
|
|
|
StrUtil.isEmpty(base.getLogoType())){
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if(scene == null){
|
|
|
return -2;
|
|
|
}
|
|
|
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer imagesBuf = new StringBuffer()
|
|
|
.append("images").append(File.separator)
|
|
|
- .append("images").append(scene.getNum())
|
|
|
+ .append("images").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer dataBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(dataBuf.toString());
|
|
@@ -166,20 +179,21 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
|
|
|
String sid = base.getSid();
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if (scene == null ) {
|
|
|
return -2;
|
|
|
}
|
|
|
+ SceneExt sceneExt = sceneExtService.getBySceneId(scene.getId());
|
|
|
|
|
|
JSONObject jsonhot = JSONObject.parseObject(base.getHotData());
|
|
|
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
StringBuffer imagesBuf = new StringBuffer()
|
|
|
.append("images").append(File.separator)
|
|
|
- .append("images").append(scene.getNum())
|
|
|
+ .append("images").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer imagesBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(imagesBuf.toString());
|
|
@@ -276,11 +290,14 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
map.put(dataBuffer.toString() + "hot.json", dataBuf.toString() + "hot.json");
|
|
|
uploadToOssUtil.uploadMulFiles(map);
|
|
|
|
|
|
- scene.setHotsIds(hotsids);
|
|
|
scene.setVersion(scene.getVersion() + 1);
|
|
|
scene.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
this.updateById(scene);
|
|
|
|
|
|
+ sceneExt.setHotsIds(hotsids);
|
|
|
+ sceneExt.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
+ sceneExtService.updateById(sceneExt);
|
|
|
+
|
|
|
String strsceneInfos = FileUtils.readFile(dataBuffer.toString() + "scene.json");
|
|
|
JSONObject scenejson = new JSONObject();
|
|
|
if(strsceneInfos!=null){
|
|
@@ -298,19 +315,21 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int saveBackgroundMusic(SceneEditVO base) {
|
|
|
+ public int saveBackgroundMusic(SceneEditVO base) throws Exception {
|
|
|
if(StrUtil.isEmpty(base.getSceneNum()) || StrUtil.isEmpty(base.getMusicName())){
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if(scene == null){
|
|
|
return -2;
|
|
|
}
|
|
|
+ SceneExt sceneExt = sceneExtService.getBySceneId(scene.getId());
|
|
|
|
|
|
+ JSONObject jsonhot = JSONObject.parseObject(base.getHotData());
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer dataBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(dataBuf.toString());
|
|
@@ -321,11 +340,14 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
|
|
|
FileUtils.writeJsonFile(dataBuffer.toString() + "scene.json", map);
|
|
|
|
|
|
- scene.setBgMusic(base.getMusicName());
|
|
|
scene.setVersion(scene.getVersion() + 1);
|
|
|
scene.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
this.updateById(scene);
|
|
|
|
|
|
+ sceneExt.setBgMusic(base.getMusicName());
|
|
|
+ sceneExt.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
+ sceneExtService.updateById(sceneExt);
|
|
|
+
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
@@ -336,14 +358,14 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if(scene == null){
|
|
|
return -2;
|
|
|
}
|
|
|
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer dataBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(dataBuf.toString());
|
|
@@ -371,19 +393,19 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int saveSceneKey(SceneEditVO base) {
|
|
|
+ public int saveSceneKey(SceneEditVO base) throws Exception {
|
|
|
if(StrUtil.isEmpty(base.getSceneNum()) || StrUtil.isEmpty(base.getSceneKey())){
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if(scene == null){
|
|
|
return -2;
|
|
|
}
|
|
|
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer dataBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(dataBuf.toString());
|
|
@@ -404,23 +426,25 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int saveTourList(SceneEditVO base) {
|
|
|
+ public int saveTourList(SceneEditVO base) throws Exception {
|
|
|
if(StrUtil.isEmpty(base.getSceneNum()) || StrUtil.isEmpty(base.getTourList())){
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if(scene == null){
|
|
|
return -2;
|
|
|
}
|
|
|
+ SceneExt sceneExt = sceneExtService.getBySceneId(scene.getId());
|
|
|
+
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer imagesBuf = new StringBuffer()
|
|
|
.append("images").append(File.separator)
|
|
|
- .append("images").append(scene.getNum())
|
|
|
+ .append("images").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer imagesBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(imagesBuf.toString());
|
|
@@ -462,10 +486,13 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
|
|
|
FileUtils.writeJsonFile(dataBuffer.toString() + "scene.json", jsonMap);
|
|
|
|
|
|
- scene.setScreencapLen(screencapLen);
|
|
|
scene.setVersion(scene.getVersion() + 1);
|
|
|
scene.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
this.updateById(scene);
|
|
|
+
|
|
|
+ sceneExt.setScreencapLen(screencapLen);
|
|
|
+ sceneExt.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
+ sceneExtService.updateById(sceneExt);
|
|
|
}
|
|
|
|
|
|
uploadToOssUtil.uploadMulFiles(map);
|
|
@@ -482,7 +509,7 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(sceneNum);
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(sceneNum);
|
|
|
if(scene == null){
|
|
|
return -2;
|
|
|
}
|
|
@@ -524,10 +551,6 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
log.error("上传图片失败", e);
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_5037);
|
|
|
}finally {
|
|
|
-// if(redisTemplate.hasKey(lockKey)){
|
|
|
-// redisTemplate.delete(lockKey);
|
|
|
-//
|
|
|
-// }
|
|
|
redisUtil.unlock(lockKey, Thread.currentThread().getId());
|
|
|
}
|
|
|
|
|
@@ -540,12 +563,13 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(sceneNum);
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(sceneNum);
|
|
|
if(scene == null){
|
|
|
return -2;
|
|
|
}
|
|
|
+ SceneExt sceneExt = sceneExtService.getBySceneId(scene.getId());
|
|
|
|
|
|
- if (file.isEmpty() && file.getSize() <= 0) {
|
|
|
+ if(file.isEmpty() && file.getSize() <= 0) {
|
|
|
return -99;
|
|
|
}
|
|
|
|
|
@@ -585,10 +609,14 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
map.put("version", scene.getVersion()+1);
|
|
|
FileUtils.writeJsonFile(ConstantFilePath.SCENE_PATH + "data/data" + sceneNum + "/scene.json", map);
|
|
|
|
|
|
- scene.setScreencapVoiceSrc(voiceSrc);
|
|
|
scene.setVersion(scene.getVersion() + 1);
|
|
|
scene.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
this.updateById(scene);
|
|
|
+
|
|
|
+ sceneExt.setScreencapVoiceSrc(voiceSrc);
|
|
|
+ sceneExt.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
+ sceneExtService.updateById(sceneExt);
|
|
|
+
|
|
|
}catch (Exception e){
|
|
|
log.error("上传图片失败", e);
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_5040);
|
|
@@ -600,20 +628,21 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int saveScreencapFile(SceneEditVO base) throws IOException {
|
|
|
+ public int saveScreencapFile(SceneEditVO base) throws Exception {
|
|
|
if(StrUtil.isEmpty(base.getSceneNum()) || StrUtil.isEmpty(base.getIndex()) ||
|
|
|
StringUtils.isEmpty(base.getCamerasData())){
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if(scene == null){
|
|
|
return -2;
|
|
|
}
|
|
|
+ SceneExt sceneExt = sceneExtService.getBySceneId(scene.getId());
|
|
|
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer dataBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(dataBuf.toString());
|
|
@@ -639,10 +668,13 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
map.put("version", scene.getVersion()+1);
|
|
|
FileUtils.writeJsonFile(dataBuffer.toString() + "scene.json", map);
|
|
|
|
|
|
- scene.setScreencapLen(0);
|
|
|
scene.setVersion(scene.getVersion() + 1);
|
|
|
scene.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
this.updateById(scene);
|
|
|
+
|
|
|
+ sceneExt.setScreencapLen(0);
|
|
|
+ sceneExt.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
+ sceneExtService.updateById(sceneExt);
|
|
|
}
|
|
|
|
|
|
String filePath = dataBuffer.toString() + ConstantFileName.TOURLIST_FOLDER + File.separator + ConstantFileName.SCREEN_CRP_DATAFILE + base.getIndex() + ".json";
|
|
@@ -658,12 +690,12 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int saveHotVisible(SceneEditVO base) throws IOException {
|
|
|
+ public int saveHotVisible(SceneEditVO base) throws Exception {
|
|
|
if(StrUtil.isEmpty(base.getData())){
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if (scene == null ) {
|
|
|
return -2;
|
|
|
}
|
|
@@ -672,11 +704,11 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
StringBuffer imagesBuf = new StringBuffer()
|
|
|
.append("images").append(File.separator)
|
|
|
- .append("images").append(scene.getNum())
|
|
|
+ .append("images").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer imagesBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(imagesBuf.toString());
|
|
@@ -714,7 +746,7 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if (scene == null ) {
|
|
|
return -2;
|
|
|
}
|
|
@@ -723,11 +755,11 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
|
|
|
StringBuffer dataBuf = new StringBuffer()
|
|
|
.append("data").append(File.separator)
|
|
|
- .append("data").append(scene.getNum())
|
|
|
+ .append("data").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
StringBuffer imagesBuf = new StringBuffer()
|
|
|
.append("images").append(File.separator)
|
|
|
- .append("images").append(scene.getNum())
|
|
|
+ .append("images").append(scene.getSceneCode())
|
|
|
.append(File.separator);
|
|
|
|
|
|
StringBuffer dataBuffer = new StringBuffer(ConstantFilePath.SCENE_PATH).append(dataBuf.toString());
|
|
@@ -778,10 +810,11 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
return -102;
|
|
|
}
|
|
|
|
|
|
- Scene scene = baseMapper.findByNum(base.getSceneNum());
|
|
|
+ Scene scene = sceneService.getSceneBySceneCode(base.getSceneNum());
|
|
|
if (scene == null ) {
|
|
|
return -2;
|
|
|
}
|
|
|
+ SceneExt sceneExt = sceneExtService.getBySceneId(scene.getId());
|
|
|
|
|
|
String accessToken = WeiXinUtils.getAccessToken();
|
|
|
|
|
@@ -838,10 +871,14 @@ public class SceneAppServiceImpl extends ServiceImpl<ISceneMapper, Scene> implem
|
|
|
map.put("version", scene.getVersion()+1);
|
|
|
FileUtils.writeJsonFile(ConstantFilePath.SCENE_PATH + "data/data" + base.getSceneNum() + "/scene.json", map);
|
|
|
|
|
|
- scene.setScreencapVoiceSrc(voiceSrc);
|
|
|
scene.setVersion(scene.getVersion());
|
|
|
scene.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
this.updateById(scene);
|
|
|
+
|
|
|
+ sceneExt.setScreencapVoiceSrc(voiceSrc);
|
|
|
+ sceneExt.setUpdateTime(Calendar.getInstance().getTime());
|
|
|
+ sceneExtService.updateById(sceneExt);
|
|
|
+
|
|
|
FileUtils.deleteFile(ConstantFilePath.SCENE_PATH+"voice"+File.separator+"voice"+base.getSceneNum()+File.separator+ConstantFileName.VOICE_NAME+".amr");
|
|
|
return originalFileName;
|
|
|
}
|