|
@@ -1071,7 +1071,7 @@ public class WorkServiceImpl extends IBaseStrServiceImpl<WorkEntity, String> imp
|
|
|
JSONArray scenes = res.getJSONArray("scenes");
|
|
|
for (int i = 0; i < scenes.size(); i++) {
|
|
|
JSONObject parse = JSON.parseObject(scenes.get(i).toString());
|
|
|
- if (parse.getString("type").equalsIgnoreCase("pano")) {
|
|
|
+ if (parse.containsKey("type")&&parse.getString("type").equalsIgnoreCase("pano")) {
|
|
|
if (res.containsKey("customMask")) {
|
|
|
JSONObject customMask = res.getJSONObject("customMask");
|
|
|
JSONObject earth = customMask.getJSONObject("earth");
|