|
@@ -33,6 +33,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import java.io.IOException;
|
|
|
+import java.nio.charset.StandardCharsets;
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
@@ -239,6 +240,6 @@ public class SceneDrawServiceImpl implements ISceneDrawService {
|
|
|
return;
|
|
|
}
|
|
|
List<JSONObject> collect = list.stream().map(str -> JSON.parseObject(str)).collect(Collectors.toList());
|
|
|
- ossUtil.uploadFileBytes(bucket, userEditPath, JSON.toJSONString(collect).getBytes());
|
|
|
+ ossUtil.uploadFileBytes(bucket, userEditPath, JSON.toJSONString(collect).getBytes(StandardCharsets.UTF_8));
|
|
|
}
|
|
|
}
|