feat: bug-662 产品中心客户端,页面刷新及打开产品详情页面报错
This commit is contained in:
parent
e59b3f7b0a
commit
235f6b4543
|
|
@ -159,6 +159,7 @@ public class ProductModelHotimageServiceImpl extends ServiceImpl<ProductModelHot
|
||||||
.eq(ProductModelHotimage::getModelId, modelId)
|
.eq(ProductModelHotimage::getModelId, modelId)
|
||||||
.eq(ProductModelHotimage::getState, PublishState.Published.getState())
|
.eq(ProductModelHotimage::getState, PublishState.Published.getState())
|
||||||
.one();
|
.one();
|
||||||
|
if (Objects.isNull(info)) return null;
|
||||||
JSONArray jsonArray = JSONUtil.parseArray(info.getData());
|
JSONArray jsonArray = JSONUtil.parseArray(info.getData());
|
||||||
List<JSONObject> jsonObjects = new ArrayList<>();
|
List<JSONObject> jsonObjects = new ArrayList<>();
|
||||||
if (CollectionUtil.isNotEmpty(jsonArray)) {
|
if (CollectionUtil.isNotEmpty(jsonArray)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue